File: ABOUT-NLS

package info (click to toggle)
msmtp 1.4.32-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,008 kB
  • ctags: 601
  • sloc: ansic: 10,910; sh: 5,461; python: 121; makefile: 83; sed: 16
file content (21 lines) | stat: -rw-r--r-- 990 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 msmtp into your language, please contact
<msmtp-users@lists.sourceforge.net> for details and coordination. Please keep in
mind that a translation will have to be updated regularly as msmtp changes, and
unmaintained translations will have to be removed.

Msmtp 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 msmtp.pot:
    $ cd po
    $ make msmtp.pot
and copy it to your new translation file:
    $ cp msmtp.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>.