Auto-translate
simplelocalize auto-translate --apiKey PROJECT_API_KEY
Auto-translate specified languages
Pass one or more language keys in --languageKeys
parameter, to auto-translate selected texts.
simplelocalize auto-translate --apiKey PROJECT_API_KEY --languageKeys en,fr,de,pl
Auto-translate with force
Use --force
parameter to auto-translate all texts, even if they are already translated.
simplelocalize auto-translate \
--apiKey PROJECT_API_KEY \
--languageKeys fr,pl \
--force
Note: This will overwrite existing translations, so use it with caution. This options is a shortcut for
--autoTranslateOptions FORCE_REPLACE
.
Auto-translate with custom options
Use --autoTranslateOptions
parameter to pass custom options to the auto-translate command, for example: USE_TRANSLATION_KEYS
.
simplelocalize auto-translate \
--apiKey PROJECT_API_KEY \
--languageKeys fr,pl \
--autoTranslateOptions USE_TRANSLATION_KEYS
Initialize configuration file
Command creates a sample configuration file in the current directory.
simplelocalize init
Get project details
Command gets project details and prints them to the console.
simplelocalize status --apiKey PROJECT_API_KEY
Purge translations
Command removes all translations, translation keys and languages from the project
simplelocalize purge --apiKey PROJECT_API_KEY
# skip confirmation
simplelocalize purge --apiKey PROJECT_API_KEY --force
Was this helpful?