Table of contents
What is auto-translation?
The advancements in the field of AI have led to the development of a tool that can translate text from one language to another in a matter of seconds. Machine translation options are a great replacement for expensive professional translators' services.
Even though auto-translation tool is very helpful, there are some inaccuracies when translating from one language to another.
Available translation services in SimpleLocalize:
- Google Translate is the most popular translation service in the world. It supports more than 100 languages and can translate entire sentences at a time for quick comprehension.
- DeepL translator is the only machine translation engine that supports features like auto-detecting text languages or translating content with vector graphics and formatting. It is known by machine learning-driven translations that are more accurate than any other system on the market.
How to use auto translation?
In order to auto-translate your texts, go to 'Languages' tab and select option 'Start auto translation' next to the language you want to get translated.
The 'Start auto translation' button won't show up if 100% language content is translated.
Once you click the 'Start translation' button, you will see a popup with auto translation options.
Here you can choose which translation service you would like to use and into which language SimpleLocalize should translate texts. Source language is selected automatically based on the translation service recommendations to provide the best results.
Next, click 'Start translation' button. SimpleLocalize will now run the auto-translation process in background, so you can close the window. Usually, auto-translation takes only a couple of seconds. Progress of an auto-translation process is shown in the 'Languages' tab, and the final result is logged into the 'Activity' tab.
You can also start auto-translation for all languages at once by clicking 'Start auto translation' button in the 'Languages' tab.
Exclusion dialects
Exclusion dialect is a way how SimpleLocalize recognizes words and phrases to exclude from auto-translation.
None
Option 'None' will not try to find any special characters or markings to exclude words or phrases.
Simple dialect
Enabling this dialect excludes variables from being auto-translated by
the auto-translation feature. Use brackets {
and }
to mark strings which should NOT be translated. Everything what
is in {
}
won't be translated. See example below:
Translation: Hello {firstName}, how are you?
Found variable: {firstName}
won't be translated.
Translated into Polish: Witaj {firstName}, jak się masz?
You can also change the default brackets {}
used for excluding word to:
[]
-Hello [username], how are you?
<>
-Hello <username>, how are you?
()
-Hello (username), how are you?
ICU dialect
This is an experimental option, it may produce unexpected and invalid output in some cases.
ICU formatting is a widely used format used in many frameworks and apps. The ICU exclusion dialect tries to find words should be also translated like in the example below.
{gender, select,
male {He}
female {She}
other {They}
} will respond shortly.
SimpleLocalize will find additional values to translate: He
, She
, They
and will respond shortly.
The example translated into Polish will produce translation like below:
{gender, select,
male {On}
female {Ona}
other {Oni}
} odpowie wkrótce.
Exclude words or phrases
You can add a list of words or phrases which will be automatically excluded on every auto-translation. This option is always enabled. Put every word or phrase in a new line.