This is an old revision of the document!
Some of the X2Go components can be internationalized/localized (translated into many of the globe's languages as possible). Here is a short howto that explains what you need to do, to contribute your language to X2Go.
COMPONENT | da | de | es | et | fi | fr | nb_no | nl | ru | sv | zh_tw |
x2goclient | x | x | x | x | x | incomplete | x | x | x | x | outdated |
pinentry-x2go | - | x | - | - | - | - | - | - | - | - | - |
pyhoca-gui | x | x | x | - | - | - | x | x | x | x | - |
x2godesktopsharing | x | x | x | - | - | x | x | x | x | x | - |
x2gognomebindings | - | x | - | - | - | - | - | - | - | - | - |
x2gomatebindings | - | x | - | - | - | - | - | - | - | - | - |
x2goplasmabindings | x | x | x | - | - | x | x | - | x | x | - |
x2goadmincenter | - | x | - | - | x | - | - | - | - | - | - |
X2Go Client uses Qt4 which has a great tool to help you translate X2Go Client into your language - Qt Linguist.
TRANSLATIONS += x2goclient_sv.ts
Some locales have both language and territory specified, e.g. the file for the Bokmal languague in Norway is named x2goclient_nb_no.ts.
lupdate <filename>.pro
(e.g. lupdate x2goclient.pro)
sudo apt-get install libldap2-dev libssh-dev libcups2-dev libgd2-xpm-dev
<file>x2goclient_sv.qm</file>
lrelease *.ts
./config_linux.sh
make clean; make
./x2goclient
git add <your-new-and/or-changed-files.ts>
git commit -m "change comment (in english)" <filename, e g x2goclient_sv.ts>
git format-patch -1
For more information related to Git, look here: http://git-scm.com/
X2Go's pinentry tool uses the same translation mechanism as X2Go Client (Qt4, Qt-Linguist, .ts files). Thus, see above. The .ts
files are in the subfolder pinentry-x2go/
of the project's source tree.
For PyHoca-GUI as a translater you have to use a gettext compatible (.po/.mo files) editor like 'poedit
'. The translation process is described in the README.i18n
file within PyHoca-GUI's source tree:
Please also note that there is an NSIS installer (for the win32 version of PyHoca-GUI), that also has a few translatable strings. Check the nsis_include/
subfolder in the PyHoca-GUI source tree.
The X2Go Desktop Sharing applet uses the same translation mechanism as X2Go Client (Qt4, Qt-Linguist, .ts files). Thus, see above.
For translating the similar projects x2gognomebindings
(GNOMEv2 only) and x2gomatebindings
you need a gettext based editor like poedit
. The .po
files are in the po/ subfolder in the source tree.
The plasma-widget-x2go
plasmoid uses the same translation mechanism as X2Go Client (Qt4, Qt-Linguist, .ts files). Thus, see above.
The X2Go Admin Center application uses the same translation mechanism as x2goclient (Qt4, Qt-Linguist, .ts files). Thus, see above.
Note: X2Go Admin Center is still under development and not at all finished.