Note: Replace xx and xx_XX with your locale country code (e.g. de and de_DE).
The localisation resources for the HoldingNuts client are simple XML-files. They can either be edited by hand/text-editor (not recommended) or with the Qt development tool Linguist.
On a debian-based system you can run
sudo apt-get install qt4-dev-tools
Best is to contact a HoldingNuts developer and ask him to send the latest translation template.
Another way is to generate a template yourself. Checkout and setup the sources for updating translations (described in setup). Means, configuring your environment with
cmake -DUPDATE_TRANSLATIONS=On ../trunk
Create a file trunk/src/client/translations/hn_xx.ts
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="xx_XX"> <defaultcodec></defaultcodec> </TS>
Run make to generate the translation file
make translations
Same as in above section but without the “create file” step.
Alternatively run lupdate manually.
data/i18n/hn_xx.qmmake translations when you've checked out the sources. Copy the file from build/src/client/hn_xx.qm to data/i18n/hn_xx.qmlrelease manually: lrelease hn_de.tslocale to ”locale xx”.