Readme file for language test
----------------------------------------------

This tar file contains the source files for a simple language test using python and Qt.

The starting point is QtDesigner which generates the .ui file.  The tool pyuic4 then generates
the python file testlangs.py based on this ui file.  Also, the lupdate tool generates the language
template file langs.ts.
From this template file, QtLinguist was used to generate the English and German translations,
saved in langs_en.ts and langs_de.ts.  They were also released in compiled form to give
langs_en.qm and langs_de.qm.
Finally, the program file test.py uses the generated python file and adds the ability to switch languages
using the menu entries.  The signals from the menu items (triggered(), not clicked()), are connected to
local class functions which remove the old translator and install the new one.

The way this is implemented is not particularly scaleable to large numbers of languages but it at least
demonstrates the ability to switch languages and have all gui elements (such as static labels) updated
relatively easily.

This source was made available by activityworkshop.net and is put in the public domain.