auto-translate-config.json
This file is located in the
./config/auto-translate/
directory and is used to configure the automatic translation
feature in Applipress. By default, the automatic translation
feature is disabled. To enable it, you must modify the
.auto-translate-config.json
file and provide the necessary API keys for the translation
service you wish to use.
Initially, the file contains the following settings:
To enable automatic translation, follow these steps:
-
set the
automaticTranslation
field totrue
-
provide the API key for the translation service you wish to use and set the
translatorProvider
field accordingly. Valid values fortranslatorProvider
aregoogle
andazure
. -
currently, Applipress supports Google Translate and Microsoft Azure Translation services
Here's an example of how the
.auto-translate-config.json
file should look after enabling automatic translation with
Google Translate: