Information about locales
[squirrelmail.git] / locale / README.locales
1 SquirrelMail distributes translations separately from
2 main scripts.
3
4 If you are using SquirrelMail cvs copy, you can download
5 translations with commands
6
7 cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/squirrelmail login
8 cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/squirrelmail co locales
9
10 If you are using some SquirrelMail release, translations should be
11 available in squirrelmail download page.
12
13 http://squirrelmail.org/download.php
14
15 Packaged translations are distributed in archives named
16
17 xx_XX-{sm-version}-{release-date}.tar.gz
18 xx_XX-{sm-version}-{release-date}.tar.bz2
19 xx_XX-{sm-version}-{release-date}.zip
20
21 For example:
22 es_ES-1.5.0-20031201.tar.gz should contain Spanish translation
23 of SM 1.5.0 strings released on December 01, 2003. Translation is
24 packaged with tar and gzip.
25
26 all_locales-{sm-version}-{release-date}.{tar.gz|tar.bz2|zip} packages
27 contain all available translations.
28
29 locales-{sm-version}-{release-date}-src.{tar.gz|tar.bz2|zip} packages
30 contain all available squirrelmail translations without compiled gettext
31 strings. compilelocales script that is included in package should create
32 all required .mo files if you have msgfmt program.
33
34 SquirrelMail translation consist of:
35 1. translated gettext strings (squirrelmail.po)
36 2. compiled gettext strings (squirrelmail.mo)
37 3.(optional) translated help files (*.hlp)
38 4.(optional) translated images (sec_remove_*.png)
39
40 Gettext translations should be placed in
41 locale/language_country/LC_MESSAGES/ directory.
42
43 For example:
44 Spanish translated strings should go to
45 locale/es_ES/LC_MESSAGES/squirrelmail.po and compiled
46 strings go to locale/es_ES/LC_MESSAGES/squirrelmail.mo
47
48 Help files are placed in help/language_country/ directory.
49
50 Spanish help files are stored in help/es_ES/ directory.