potpieTranslation Utility to Create Pseudo Translations of PO Files | |
Download |
potpie Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- Donald Stufft
- Publisher web site:
- http://github.com/dstufft/
potpie Tags
potpie Description
potpie is a CLI wrapper around the Psuedo Translations available from Transifex pseudo translations. The available types are brackets, unicode, planguage, extend, and mixed.InstallationTo install requests, simply: pip install potpieOr, if you absolutely must: easy_install potpieBut, you really shouldn't do that.UsageTo create a pseudo translated po file, simply: potpie infile outfileAn example for a Django project might be: potpie locale/en/LC_MESSAGES/django.po locale/xx_pseudo/LC_MESSAGES/django.poThe default type is mixed, if you wish to use another type simplify specify it as an option like: potpie --type brackets locale/en/LC_MESSAGES/django.po locale/xx_pseudo/LC_MESSAGES/django.poTypesBrackets Adds square brackets around the string (e.g. )Unicode Converts all characters into look alike unicode charactersPLanguage Increases the length of a string by around 30-50% by replacing the vowels with unicode chars that look alike. This is based on a P-language, which is a simple vowel-extending language.Extend: Increases the length of a string by around 20-700% by appending special chars (Greek, Chinese, etc) to the end of the string.Mixed: Combines Extend, Unicode and Brackets into one Type.Product's homepage
potpie Related Software