Add new language

Brian dol-sen at telus.net
Fri Dec 16 11:25:30 EST 2005


On Fri, 2005-16-12 at 10:39 +0100, Christian Stimming wrote:
> Dear Anousak,
> 
> by the way, what is the language code for the Lao language, and in which 
> countries is it spoken?
> 
> The command to "build a new .po file" is simply to copy the gnucash.pot 
> file to the corresponding filename and start working:
> 
>    cp gnucash.pot <newlang>.po
> 
> Please read some of the gettext documentation -- it should explain how 
> to work with these files. For example, one explanation (from here 
> http://www.iro.umontreal.ca/translation/HTML/translators.html):
> 
> OK, let's say you decided to translate gnucash. Start by copying the 
> file gnucash.pot into a work file named LL.po, where LL is your language 
> code as explained earlier in this text, and just edit this file.

Probably the easiest way to translate the gnucash.pot file is to use a
specialized editor such as poedit.  To use it just start poedit, import
the gnucash.pot file and begin editing.  It will inform you if it thinks
the translation is "fuzzy" if you miss some quotes or special
characters, etc..  If you are not sure how to translate something, skip
it and next time you open the file to edit it, all untranslated strings
appear at the start followed by any fuzzy translations and finally
completed strings.  Updates are easy as well, just a menu click "update
from pot file" and select the new gnucash.pot file.  It will merge the
new pot file source, updating your original strings and list any new
strings at the start.
-- 
Brian <dol-sen at telus.net>



More information about the gnucash-devel mailing list