Skip to content

Python Tool for generating locales string files for Android an iOS developers.

License

Notifications You must be signed in to change notification settings

jarda-jakoube/mobile-locales

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mobile-locales

Python Tool for generating locales string files for Android an iOS developers.

Requirements

Python 2.7.x
requests
pandas

Usage

This tool generates locales for Android and iOS projects from one sigle source. This source can be sheet in Google Docs or local csv file.

Edit the config.py and set your own list of languages, and Google sheet URL. Don't forget to add /export?format=csv at the end of URL. This will export the data into csv format online. Read the first answer on Using the google drive API to download a spreadsheet in csv format for further info.

First row of the spreadsheet must contain header with lang codes and platform keys. Check out the sample document and generated example outputs in the android an ios dirs.

If you need to use the values only at one of the platforms, just put the NOT_EXIST as the key value for ommited platform.

About

Python Tool for generating locales string files for Android an iOS developers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.4%
  • Shell 4.6%