Skip to content

Machine Translation

Anthony Fu edited this page Apr 23, 2020 · 8 revisions

Translating Services

We are currently offering the following translating API services to those.

Name Website Quote
google https://translate.google.com/ Unlimited*
google-cn** https://translate.google.cn/ Unlimited*

* Using the same API as the web version of translate.google.com, it seems like no quote limitations. If you are working on a huge amount of messages, please consider using an external translating tool in case of abusing.

** Same as google but for users from China

You can specify the services you want to use by (default to ["google"])

"i18n-ally.translate.engines": ["google-cn", "google"]

When multiple engines are provided, it will try to use from left to right until one gets success.

🧱 We are planning to add more services in the future, feel free to open PRs if you are interested in. Entry

Translation Candidates

If you would like to have more control of the translated content, check out this page for more details.

Advanced Translating Options

// Default values are listed with the config options 

// Amount of translation jobs run at the same time
"i18n-ally.translate.parallels": 5,

// Prompt to select source locale on translating every time. 
// If set false, the source language in the config will be used.
"i18n-ally.translate.promptSource": false,

// Override existing messages on translating.
// If set false, no-empty keys will be ignored on batch translating.
"i18n-ally.translate.overrideExisting": false,