Skip to content

This is ready-made translator for iOS strings. Provide the input file and copy the generated files from directory "translated"

Notifications You must be signed in to change notification settings

bikcrum/iOS-String-Translator-GCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Translator for iOS string resource

How to bulk translate?

Prerequisites

  1. Must have python version 3
  2. Must have billing enabled in Google Cloud Platform (GCP)
  3. Install the google client translation library pip install --upgrade google-cloud-translate
  4. Create service account in GCP

Steps:

  1. Clone and go to the project directory
  2. Paste above service account and rename to project-service-account.json
  3. Use this command python translator-for-ios.py <source-string-file> <languages list>
  4. Example python translator-for-ios.py Localizable.strings fr or python translator-for-ios.py Localizable.strings fr,de,nl
  5. To translate to all available languages just provide source string in the command
  6. 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

Releases

No releases published

Packages

No packages published

Languages