lazarus/components/codetools/languages
2019-09-20 23:25:41 +00:00
..
codetoolsstrconsts.ca.po Translations: regenerated all relevant translation files after r61231 #5b72fe1d56 2019-05-16 23:10:15 +00:00
codetoolsstrconsts.cs.po
codetoolsstrconsts.de.po
codetoolsstrconsts.es.po
codetoolsstrconsts.fi.po
codetoolsstrconsts.fr.po
codetoolsstrconsts.he.po Translations: regenerated all relevant translation files after r61231 #5b72fe1d56 2019-05-16 23:10:15 +00:00
codetoolsstrconsts.hu.po
codetoolsstrconsts.id.po Translations: regenerated all relevant translation files after r61231 #5b72fe1d56 2019-05-16 23:10:15 +00:00
codetoolsstrconsts.it.po
codetoolsstrconsts.lt.po
codetoolsstrconsts.nl.po Translations: regenerated all relevant translation files after r61231 #5b72fe1d56 2019-05-16 23:10:15 +00:00
codetoolsstrconsts.pl.po
codetoolsstrconsts.pot
codetoolsstrconsts.pt_BR.po
codetoolsstrconsts.ru.po
codetoolsstrconsts.sk.po Translations: Slovak translation update by LacaK, bug #36088 2019-09-20 23:25:41 +00:00
codetoolsstrconsts.tr.po Translations: Turkish translation update by Onur ERÇELEN, bug #35865 2019-07-21 22:57:16 +00:00
codetoolsstrconsts.uk.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.