Translation Utility to Create Pseudo Translations of PO Files
Project description
glossolalia: Pseudo Po Translations
==============================
glossolalia is a GPL Licensed cli wrapper around the Psuedo Translations
available from Transifex_ pseudo translations. The available types are
``brackets``, ``unicode``, ``planguage``, ``extend``, and ``mixed``.
glossolalia is a fork of `potpie <https://github.com/dstufft/potpie>`_, which is
unmaintained.
Installation
------------
To install requests, simply: ::
$ pip install glossolalia
Or, if you absolutely must: ::
$ easy_install glossolalia
But, you really shouldn't do that.
Usage
-----
To create a pseudo translated po file, simply: ::
$ glossolalia [--type] infile outfile
An example for a Django project might be: ::
$ glossolalia locale/en/LC_MESSAGES/django.po locale/xx_pseudo/LC_MESSAGES/django.po
The default type is mixed, if you wish to use another type simplify specify it
as an option like: ::
$ glossolalia --type brackets locale/en/LC_MESSAGES/django.po locale/xx_pseudo/LC_MESSAGES/django.po
Types
------
Brackets
Adds square brackets around the string (e.g. [translated text])
Unicode
Converts all characters into look alike unicode characters
PLanguage
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.
.. _Transifex: https://transifex.net/
==============================
glossolalia is a GPL Licensed cli wrapper around the Psuedo Translations
available from Transifex_ pseudo translations. The available types are
``brackets``, ``unicode``, ``planguage``, ``extend``, and ``mixed``.
glossolalia is a fork of `potpie <https://github.com/dstufft/potpie>`_, which is
unmaintained.
Installation
------------
To install requests, simply: ::
$ pip install glossolalia
Or, if you absolutely must: ::
$ easy_install glossolalia
But, you really shouldn't do that.
Usage
-----
To create a pseudo translated po file, simply: ::
$ glossolalia [--type] infile outfile
An example for a Django project might be: ::
$ glossolalia locale/en/LC_MESSAGES/django.po locale/xx_pseudo/LC_MESSAGES/django.po
The default type is mixed, if you wish to use another type simplify specify it
as an option like: ::
$ glossolalia --type brackets locale/en/LC_MESSAGES/django.po locale/xx_pseudo/LC_MESSAGES/django.po
Types
------
Brackets
Adds square brackets around the string (e.g. [translated text])
Unicode
Converts all characters into look alike unicode characters
PLanguage
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.
.. _Transifex: https://transifex.net/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
glossolalia-1.0.0.tar.gz
(15.9 kB
view details)
File details
Details for the file glossolalia-1.0.0.tar.gz
.
File metadata
- Download URL: glossolalia-1.0.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa23312b2eadec0a39f31b90463069f251c210dceaf36024586fb2bb0fe49a59 |
|
MD5 | 7ec3b1a57a466471a2dd16405440a718 |
|
BLAKE2b-256 | a418966da2c62d848a7afbaf82a467b06dfa3237072384e9085f5c6db210c8e2 |