This tool takes a Qt translation file and generates a new one inserting asterisks around each string for use to test your code for translation support.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
PythonVersion
QtVersion/StarEnglish_Generator_For_Qt
.gitattributes
.gitignore
LICENSE.md
README.md
README.txt

README.md

Star English and Long English Generator for Qt

This tool takes a Qt translation file (*.ts) and generates a new one inserting either asterisks or a number of W's around each string for use to test your code for translation support.

It is for use with the Star-English or Long-English technique.

Sources

If you're wanting to make changes, please clone the git repository at sources

git://github.com/bvanderlaan/StarEnglishGeneratorForQt.git

Documentation

The Python Version

Star-English

This script takes a TS file and generates the Star-English translation strings.

You need to provide the TS file name to update.
Example:

    python createStarEnglishFile.py myApp_fo.ts

It will update myApp_fo.ts to use Star-English strings and will save the originally passed in file as myApp_fo.ts.org.

Long-English

This script takes a TS file and generates the Long-English translation strings.

You need to provide the TS file name to update.
Example:

    python createLongEnglishFile.py myApp_fo.ts

It will update myApp_fo.ts to use Long-English strings and will save the originally passed in file as myApp_fo.ts.org.

The C++/Qt Version

This tool presents you with an interface which allows to you pick the source translation file and the name/location for the generated Star-English or Long-English output file.