lazarus/components/codetools/languages
mattias b62eab6b71 updated russian utf translation from Vasily
git-svn-id: trunk@6433 -
2004-12-30 11:24:06 +00:00
..
codetools.ca.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
codetools.de.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
codetools.es.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
codetools.esutf.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
codetools.fi.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
codetools.fr.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
codetools.it.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
codetools.itiso.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
codetools.pl.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
codetools.pliso.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
codetools.plwin.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
codetools.po available translations are now searched automatically 2004-12-06 18:27:18 +00:00
codetools.ru.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
codetools.ruutf.po updated russian utf translation from Vasily 2004-12-30 11:24:06 +00:00
codetools.ruwin.po updatepofiles is now case sensitive, 2004-12-18 10:20:22 +00:00
README added synedit localization 2002-10-01 15:45:32 +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.