jirivrany / mobile-locales

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Python 95.4%Language:Shell 4.6%