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