lazarus/lcl/languages
2004-12-27 12:56:42 +00:00
..
lcl.ca.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
lcl.de.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
lcl.es.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
lcl.esutf.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
lcl.fi.po updated finnish translation from Seppo 2004-12-19 23:20:24 +00:00
lcl.fr.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
lcl.it.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
lcl.itiso.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
lcl.pl.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
lcl.pliso.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
lcl.plwin.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
lcl.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
lcl.ru.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
lcl.ruutf.po started TTranslateStrings and .lrt files support from Vasily 2004-12-27 12:56:42 +00:00
lcl.ruwin.po added resurce strings for gtk file dlg 2004-12-18 23:46:17 +00:00
README MG: added internationalization, started with german 2002-07-04 14:48:24 +00:00

The lcl/languages directory contains all the stuff for internationalization of
the lcl.

All text and messages used in the lcl should be placed into the unit
lcl/lclstrconsts.pas. This unit uses a resourcestring section, so that the
compiler will create the lcl/units/lclstrconsts.rst file.
Since this is a fpc-only format it must be converted with the rstconv program:

cd lcl/languages
rstconv -i ../units/lclstrconsts.rst -o lcl.po

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

german: lcl.de.po


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

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

where xx is the language id.