Simple Python command-line client for Get Localization

GLToolkit is very trivial command-line client that gives you opportunity to download/upload localization files from command-line. This is especially useful when you integrate e.g. uploading of master strings with your build/SCM commit process. This means that you’ve always up-to-date master strings in Get Localization server.

Installation

Download installation file from Google Code

Additionally you can checkout gltoolkit project from Google Code with this command:

hg clone https://gltoolkit.googlecode.com/hg/ gltoolkit

Usage

Upload your project master strings:

pygl.py upload localizationfile.po project-name master [component-name] --username=gluser --password=glpass

Upload specific language files:

pygl.py upload localizationfile_fr.po project-name fr [component-name] --username=gluser --password=glpass
(replace fr with any IANA code)


Download language files:
pygl.py get project-name fr --username=gluser --password=glpass
(replace fr with any IANA code)



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s