Auto-translation

Last modified: April 21, 2022Author: Jakub Pomykała

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.

languages tab and auto translate option

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.

start auto translation popup

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 auto-translation process is showed in the 'Languages' tab and the final result is logged in the 'Activity' tab.

finished auto translation activity

Exclusion dialects

Exclusion dialect is a way how SimpleLocalize recognizes words and phrases to exclude from auto-translation.

exclusion dialect

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.

auto-translation settings