cburatto / pseudolocalization-tool

Automatically exported from code.google.com/p/pseudolocalization-tool
Apache License 2.0
0 stars 0 forks source link

This library provides a tool and an API to perform pseudolocalization. Pseudolocalization generates a fake translation of messages of a program, which helps to highlight weaknesses and bugs in the original program regarding localization.

The library includes a structured message API to allow it to be used for complex multi-part messages, and includes the following pseudolocalization methods:

These methods can be combined in any order and with user-written methods. In addition, HTML tags can optionally be preserved (it is not recommended to give them to the translator, but especially simple tags show up in translatable text frequently).

These can also be accessed via locale variant subtags, which we hope to get standardized. A variant subtag of psaccent corresponds to accenter, expander, and brackets (in that order), and a variant subtag of psbidi corresponds to fakebidi.

Initially this project consists of just a library to be used by other tools, but eventually it will provide a command-line tool for generating pseudolocalized message files that can be used just like real translated files in your build process. Integration with GWT is also planned.

Dependencies:

This project needs JUnit and htmlparser -- compatible versions are included in the lib directory, or you can supply your own version.

Additional Credits:

The original implementations this library is based upon were written by Jerome Flesch while an intern at Google.