]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
* note about translating radiant
authormattn <mattn>
Thu, 26 Jun 2008 08:38:52 +0000 (08:38 +0000)
committermattn <mattn>
Thu, 26 Jun 2008 08:38:52 +0000 (08:38 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@267 8a3a26a2-13c4-0310-b231-cf6edde360e5

TRANSLATING [new file with mode: 0644]

diff --git a/TRANSLATING b/TRANSLATING
new file mode 100644 (file)
index 0000000..366f3ee
--- /dev/null
@@ -0,0 +1,20 @@
+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.