lazarus/components/codetools/languages
mattias 85abf3e057 translations: german: updates from Joerg Braun
git-svn-id: trunk@11652 -
2007-07-28 09:38:53 +00:00
..
codetoolsstrconsts.ca.po translations: german: updates from Joerg Braun 2007-04-15 08:00:51 +00:00
codetoolsstrconsts.de.po translations: german: updates from Joerg Braun 2007-07-28 09:38:53 +00:00
codetoolsstrconsts.es.po translations: german: updates from Joerg Braun 2007-04-15 08:00:51 +00:00
codetoolsstrconsts.esutf.po translations: german: updates from Joerg Braun 2007-04-15 08:00:51 +00:00
codetoolsstrconsts.fi.po translations: german: updates from Joerg Braun 2007-04-15 08:00:51 +00:00
codetoolsstrconsts.fr.po * Updated translation by Laurent Jacques 2007-06-08 22:41:56 +00:00
codetoolsstrconsts.id.po translations: german: updates from Joerg Braun 2007-04-15 08:00:51 +00:00
codetoolsstrconsts.it.po * Updated translations by Mario Bonati 2007-07-08 23:17:15 +00:00
codetoolsstrconsts.nl.po translations: german: updates from Joerg Braun 2007-04-15 08:00:51 +00:00
codetoolsstrconsts.pb.po * Update pb translation by Antonio Galvao 2007-05-07 22:39:48 +00:00
codetoolsstrconsts.pl.po translations: german: updates from Joerg Braun 2007-04-15 08:00:51 +00:00
codetoolsstrconsts.pliso.po translations: german: updates from Joerg Braun 2007-04-15 08:00:51 +00:00
codetoolsstrconsts.plwin.po translations: german: updates from Joerg Braun 2007-04-15 08:00:51 +00:00
codetoolsstrconsts.po translations: german: updates from Joerg Braun 2007-04-15 08:00:51 +00:00
codetoolsstrconsts.ru.po update Russian translations from Maxim Ganetsky 2007-06-07 21:33:08 +00:00
codetoolsstrconsts.ua.po translations: german: updates from Joerg Braun 2007-04-15 08:00:51 +00:00
codetoolsstrconsts.zh-cn.po translations: german: updates from Joerg Braun 2007-04-15 08:00:51 +00:00
README.txt renamed README files to README.txt 2006-07-21 18:31:15 +00:00

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.