This page contains a list of available parameters for JS+ Translator add-on.
Please visit CKEditor and TinyMCE installation pages for know how to include these parameters into your configuration file.
provider
: stringDefault value:
yandex
Available values:
yandex
, google
The name of API for translation. Currently Yandex and Google are the options.
yandexAPIKey
: stringYou can start using the add-on with built in API key. But to avoid limits we recommend you to get your own free API key on Yandex Translate website
googleAPIKey
: stringThis is required in case you use Google Translate API as provider. You can get your API key from Google Developers Console. Google Translate API is paid service, but they have free $300/mo. limit for their services.
langFrom
: stringDefault value:
en
Default language to translate from. User can always change it inside editor using configuration dialog. Any code of a language can be the value here if it is supported by specified API.
langTo
: stringDefault value:
de
Default language to translate from. User can always change it inside editor using configuration dialog. Any code of a language can be the value here if it is supported by specified API.