[docs] tweak libjf-translate-v0 page

This commit is contained in:
Johannes Frohnmeyer 2022-02-17 17:53:03 +01:00
parent d6b593b6e5
commit 558e6bd363
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# libjf-translate-v0
libjf-translate-v0 provides a util class for translating strings through Google Translate.
libjf-translate-v0 provides a utility class for translating strings through Google Translate.
To translate a string, just call `TranslateService.translate("Text to translate", Language.AUTO_DETECT, Language.ENGLISH)`
To obtain allow configuring languages, you may use the `Language` enum itself or `Language.byId("en")`
To configure languages, you can use the `Language` enum itself or `Language.byId("en")`