lazarus/components/codetools/languages
mattias dea57e262f updated german translation from Joerg Braun
git-svn-id: trunk@7584 -
2005-08-28 23:27:21 +00:00
..
codetools.ca.po updated finnish translation 2005-07-31 21:33:55 +00:00
codetools.de.po updated german translation from Joerg Braun 2005-08-28 23:27:21 +00:00
codetools.es.po fixed translations for multi lines, fixed converting UTF8 to local charset under linux fpc 2.0 2005-08-24 17:17:59 +00:00
codetools.esutf.po updated finnish translation 2005-07-31 21:33:55 +00:00
codetools.fi.po updated finnish translation 2005-07-31 21:33:55 +00:00
codetools.fr.po fixed translations for multi lines, fixed converting UTF8 to local charset under linux fpc 2.0 2005-08-24 17:17:59 +00:00
codetools.it.po updated finnish translation 2005-07-31 21:33:55 +00:00
codetools.itiso.po updated finnish translation 2005-07-31 21:33:55 +00:00
codetools.pl.po updated finnish translation 2005-07-31 21:33:55 +00:00
codetools.pliso.po updated finnish translation 2005-07-31 21:33:55 +00:00
codetools.plwin.po updated finnish translation 2005-07-31 21:33:55 +00:00
codetools.po updated finnish translation 2005-07-31 21:33:55 +00:00
codetools.ru.po updated finnish translation 2005-07-31 21:33:55 +00:00
codetools.ruutf.po updated finnish translation 2005-07-31 21:33:55 +00:00
codetools.ruwin.po updated finnish translation 2005-07-31 21:33:55 +00:00
README

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.