lazarus/components/codetools/languages
marc 8ec9aff907 * Updated Slovak translation by Slavko
git-svn-id: trunk@15517 -
2008-06-22 22:17:48 +00:00
..
codetoolsstrconsts.ca.po
codetoolsstrconsts.de.po
codetoolsstrconsts.es.po
codetoolsstrconsts.esutf.po
codetoolsstrconsts.fi.po
codetoolsstrconsts.fr.po Update French languages 2008-03-12 21:20:46 +00:00
codetoolsstrconsts.id.po
codetoolsstrconsts.it.po
codetoolsstrconsts.lt.po Updated Lithuanian translation by Valdas Jankunas 2008-06-18 22:45:32 +00:00
codetoolsstrconsts.nl.po
codetoolsstrconsts.pb.po
codetoolsstrconsts.pl.po
codetoolsstrconsts.pliso.po
codetoolsstrconsts.plwin.po
codetoolsstrconsts.po * Improved localization of Package Links dialog by Maxim Ganetsky 2008-03-16 23:58:17 +00:00
codetoolsstrconsts.ru.po * Updated Russian translation by Maxim Ganetsky (includes translation mentioned in #9797) 2008-06-08 12:34:03 +00:00
codetoolsstrconsts.sk.po * Updated Slovak translation by Slavko 2008-06-22 22:17:48 +00:00
codetoolsstrconsts.ua.po
codetoolsstrconsts.zh-cn.po
README.txt

The <lazarusdir>/components/codetools/languages directory contains all the stuff
for internationalization of the codetools.

All text and messages used in the codetools should be placed into the unit
codetoolsstrconsts.pas. This unit uses a resourcestring section, so that the
compiler will create the
<lazarusdir>/components/units/codetoolsstrconsts.rst file.

The following is a in detail description of updating the language files for
the codetools. Normally you can just execute the <lazarusdir>/localize.sh
script.

Since this is a fpc-only format it must be converted with the rstconv program:

cd <lazarusdir>/components/codetools/languages
rstconv -i ../../units/codetoolsstrconsts.rst -o codetools.po

This will create the file codetools.po, which should be translated in all
required languages to a codetools.xx.po file. For the xx see the gettext unit
in the procedure TranslateResourceStrings.

german: codetools.de.po


After the translation, the codetools.xx.po file is converted to an .mo file
with the msgfmt program:

msgfmt -v -o codetools.xx.mo codetools.xx.po

where xx is the language id.