changed email addr of french translator, added peter
[squirrelmail.git] / doc / translating.txt
index ef281023e670ea2d73cbef3b8cf1e2a9fab7897b..7b49a2cf4da51bb9aebd069098f5318d7a5a02e2 100644 (file)
@@ -13,7 +13,8 @@ a) You must have gettext installed. If it is not installed you can
 
 b) Find the language code for the language you are going to translate
    into. A list of language codes can be found at
-   <URL:http://www.dsv.su.se/~jpalme/ietf/language-codes.html>.
+   <URL:http://www.dsv.su.se/~jpalme/ietf/language-codes.html>. If
+   there is a 2 letter code for the language, use this.
 
    Create a directory squirrelmail/locale/language_code/LC_MESSAGES/.
    Copy squirrelmail/po/squirrelmail.po into this directory. This is the
@@ -45,7 +46,7 @@ a) There should always be an updated template containing all strings
 
 msgmerge squirrelmail/locale/language/LC_MESSAGES/squirrelmail.po \
 squirrelmail/po/squirrelmail.po > \
-squirrelmail/locale/language/LC_MESSAGES/squirrelmail.po
+squirrelmail/locale/language/LC_MESSAGES/squirrelmail.po.new
 
    This should keep all strings that are unchanged and comment out all
    strings that are no longer in use. You might want to make a copy
@@ -60,8 +61,10 @@ b) Rung msgfmt again to create a new binary file.
 This script comes from Serek:
 
 #!/bin/bash
-xgettext --keyword=_ -keyword=N_ --default-domain=squirrelmail/po/squirrelmail\
--C squirrelmail/src/*.php
-xgettext --keyword=_ -keyword=N_ --default-domain=squirrelmail/po/squirrelmail\
--C -j squirrelmail/functions/*.php
+xgettext --keyword=_ -keyword=N_ \
+  --default-domain=squirrelmail/po/squirrelmail \
+  -C squirrelmail/src/*.php
+xgettext --keyword=_ -keyword=N_ \
+  --default-domain=squirrelmail/po/squirrelmail \
+  -C -j squirrelmail/functions/*.php