lazarus/lcl/languages
2009-04-06 19:41:54 +00:00
..
lclstrconsts.ca.po * Updated Catalan translation by Antoni Clavell 2008-11-30 23:56:56 +00:00
lclstrconsts.de.po translations: german: updates form Joerg Braun 2009-01-24 09:53:51 +00:00
lclstrconsts.es.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.fi.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.fr.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.id.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.it.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.lt.po Updated Lithuanian translation by Valdas Jankunas 2008-12-23 23:32:26 +00:00
lclstrconsts.nl.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.pb.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.pl.po updated polish translations from Sebastian Gasiorek 2009-04-06 19:41:54 +00:00
lclstrconsts.pliso.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.plwin.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.ru.po * Updated Russian translation by Maxin Ganetsky 2008-12-09 23:43:30 +00:00
lclstrconsts.sk.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.tr.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.ua.po translations update 2008-11-26 20:45:06 +00:00
lclstrconsts.zh_CN.po translations update 2008-11-26 20:45:06 +00:00
README.txt renamed README files to README.txt 2006-07-21 18:31:15 +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.