]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - TRANSLATING
reorganized about dialog code, added updated 1.5.0 .ico
[xonotic/netradiant.git] / TRANSLATING
1 Call xgettext to generate the cataloge:
2 =======================================
3
4 xgettext -j --keyword="_" -C -o radiant.pot --omit-header radiant/*.cpp radiant/*.h
5
6 Create new translation:
7 =======================
8
9 Use a po file editor like Poedit to edit and create new po files.
10 Select 'New Cataloge from pot' and select the radiant.pot. Enter the translation
11 data and you can start to translate the available strings. The po files should
12 go into po/ in the radiant svn.
13
14 Using translations:
15 ===================
16
17 You just have to copy the compiled mo-file (which is auto-generated when you
18 save your translation in Poedit) into your radiant installation folder
19 to lang/<your_language_id>/LC_MESSAGES/radiant.mo. The next time you start
20 radiant, your translation should be available.
21
22 General notes:
23 ==============
24
25 In order to start radiant in a translated version, you have to make sure that
26 the working dir is set correctly. Otherwise the mo files are not found.