fix
[supertux.git] / TRANSLATORS
1 0. How to Translate
2 ~~~~~~~~~~~~~~~~~~~~
3
4 * Install gettext
5 * get a cvs snapshot of supertux and do the usual autogen.sh, configure.
6   Make sure configure can find the xgettext application.
7     (ie. "checking for xgettext... xgettext")
8 * Run 'jam' and let it compile supertux and create all the messages.po files
9 * Go into data/locale and data/levels/*/ and in each dir do:
10      - In case you want to create a new translation do
11         msginit -i messages.pot -o $LANG.po
12        (where $LANG is the 2character handle of your language)
13      - In case you want to update an existing translation do
14         msgmerge -U $LANG.po messages.pot
15
16 * Edit the .po files with your favourite Editor or with 1 of the GUI tools
17   below.
18 * Send the translated .po files to the supertux-devel mailing list.
19
20 1. Notes for Translators
21 ~~~~~~~~~~~~~~~~~~~~~~~~~
22
23 * If there isn't a good translation for some term (ie. fullscreen), you might
24   consider to just keep it. It's better than making the user confused.
25
26 * In English, there is only one singular second person mode (You). If your
27   language does have more than one - a personal and impersonal - remember that
28   this is a game, so you should use the personal one. And if it is possible to
29   ommit it in your language, it might be a good idea.
30
31 * Names like SuperTux, Tux, Penny or Nolok should not be translated. If you
32   really think one of these to be a too strange word for your people, first
33   inform us at our mailing list. Minor characters like Mr. Ice Block can (and
34   should) be translated.
35
36 A couple of notes:
37 * If somewhere in the game, after translating a string, it doesn't look well
38   (bad aligment, overlaps other text...), let us know - we will fix it.
39
40 2. GUI Tools
41 ~~~~~~~~~~~~~
42
43  KBabel      - a long dated KDE program that has been maturing over the years,
44                and it's really handy by now.
45  poEdit      - a multi-platform po editor (runs under Windows and Unix).
46                URL: http://poedit.sourceforge.net/
47  (X)Emacs    - a commonly used program for translating with the respective
48                plugin.
49  QTranslator - made by Qt, has the advantage of running in several platforms.
50                PO files are written in ASCII and are pretty intuitive, so they
51                can be used by any text editor. But it would be wise to use a
52                program made for that effect. If not possible, use a text editor
53                with highlighting for PO files.
54
55 3. Note for developers
56 ~~~~~~~~~~~~~~~~~~~~~~~
57
58  Output should not be translated, since their purpose is mainly for debugging.
59  However, command description (ie. --help) should obviously be translated.
60  Messages that give the user a solution for a problem, might be translatable,
61  as well.
62  Parametars shouldn't be translatable. It breaks scripting.
63
64 The SuperTux Team