File: ABOUT-NLS

package info (click to toggle)
mpop 1.0.27-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,824 kB
  • sloc: ansic: 11,729; sh: 4,590; python: 121; makefile: 72; sed: 16
file content (21 lines) | stat: -rw-r--r-- 983 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
If you would like to translate mpop into your language, please contact
<mpop-users@lists.sourceforge.net> for details and coordination. Please keep in
mind that a translation will have to be updated regularly as mpop changes, and
unmaintained translations will have to be removed.

Mpop uses the gettext system for translations. To add a translation, e.g. for
pt (portuguese), add a line "pt" to po/LINGUAS. Then update the translation
template mpop.pot:
    $ cd po
    $ make mpop.pot
and copy it to your new translation file:
    $ cp mpop.pot pt.po
Then translate the strings in pt.po. See the existing *.po files for examples.
Activate your translation with this command:
    $ make update-po
With the correct locale setting, your translation should be available after
'make install'.

There are special translation editors such as poedit <http://www.poedit.net/>
that can help, and there are several guides available online, e.g.
<http://freeciv.wikia.com/wiki/Gettext_Guide>.