X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=doc%2Ftranslating.txt;h=5f26e1ade2dc91a1de8cf192e8eff79b7daa890e;hp=8af9e3d1ec55959c5e600117176d0e528a017ff7;hb=f29c336c019c269fcef17bc617f1c13c657d1118;hpb=887808b13fccaff5f2c4ba72e156e2c0692bb540 diff --git a/doc/translating.txt b/doc/translating.txt index 8af9e3d1..5f26e1ad 100644 --- a/doc/translating.txt +++ b/doc/translating.txt @@ -13,16 +13,16 @@ 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 - . If + . 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 file that is going to be translated. -c) To translate the actual strings fill inn the msgstr after each +c) To translate the actual strings fill in the msgstr after each msgid with the appropiate translation. There are a few tools which - kan make this job a bit easier at + can make this job a bit easier at . Convert the translated squirrelmail.po into a binary file by @@ -30,16 +30,18 @@ c) To translate the actual strings fill inn the msgstr after each the directory where the translated squirrelmail.po is residing. d) Add the language name and language code to the array at the top of - squirrelmail/functions/i18n.php. For a reference of correct two character - country codes refer to this . + squirrelmail/functions/i18n.php. +There is also a small script in the po/ directory that can help in +creating charset mappings from the mappings files that are provided by +the Unicode consortium. 2. Maintaining translations --------------------------- -the text strings in the program will change over time. This means that -strings that are already translated is no longer used and new strings -are added. Therefore it is neccessary to maintain the translations. +The text strings in the program will change over time. This means that +strings that are already translated are no longer used and new strings +are added. Therefore it is necessary to maintain the translations. a) There should always be an updated template containing all strings in SquirrelMail in squirrelmail/squirrelmail.po. To merge all new