lazarus/lcl/languages
mattias 9b1b6748f1 translations: German: fixed typo
git-svn-id: trunk@43887 -
2014-02-05 09:42:52 +00:00
..
customdrawncontrols.po translations: German: updates from Swen Heinig 2013-09-24 10:05:03 +00:00
customdrawncontrols.ru.po LCL, CustomDrawn: added Russian translation file 2013-09-28 18:50:39 +00:00
lclstrconsts.ca.po
lclstrconsts.cs.po
lclstrconsts.de.po translations: German: fixed typo 2014-02-05 09:42:52 +00:00
lclstrconsts.es.po
lclstrconsts.fi.po Minor improvements to Finnish translation 2013-12-21 13:00:22 +00:00
lclstrconsts.fr.po
lclstrconsts.he.po
lclstrconsts.hu.po Hungarian translation. Originally from Fehér Dávid (dfeher), Gábor, Athomas and others. 2013-12-22 12:15:22 +00:00
lclstrconsts.id.po
lclstrconsts.it.po
lclstrconsts.ja.po LCL: Japanese translation by Yuichiro Takahashi, bug #25123 2013-10-14 20:54:42 +00:00
lclstrconsts.lt.po
lclstrconsts.nl.po
lclstrconsts.no.po
lclstrconsts.pl.po Translations: Polish translation update by Tomasz Wieckowski, bug #25308 2013-11-12 21:29:53 +00:00
lclstrconsts.po
lclstrconsts.pt_BR.po
lclstrconsts.ru.po
lclstrconsts.sk.po Translations: corrected hotkey in LCL Slovak translation, bug #25496 2014-01-06 13:56:31 +00:00
lclstrconsts.tr.po
lclstrconsts.uk.po
lclstrconsts.zh_CN.po
README.txt

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.