Repository files navigation Translator for iOS string resource
Must have python version 3
Must have billing enabled in Google Cloud Platform (GCP)
Install the google client translation library pip install --upgrade google-cloud-translate
Create service account in GCP
Clone and go to the project directory
Paste above service account and rename to project-service-account.json
Use this command python translator-for-ios.py <source-string-file> <languages list>
Example python translator-for-ios.py Localizable.strings fr or python translator-for-ios.py Localizable.strings fr,de,nl
To translate to all available languages just provide source string in the command
After above operation you will get new translated file(s) in current directory
About
This is ready-made translator for iOS strings. Provide the input file and copy the generated files from directory "translated"
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.