lazarus/lcl/languages
mattias 19c2881ef0 codetools: fixed compiler version check
git-svn-id: trunk@60583 -
2019-03-04 13:32:26 +00:00
..
lclstrconsts.ca.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.cs.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.de.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.es.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.fi.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.fr.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.he.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.hu.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.id.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.it.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.ja.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.lt.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.nl.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.no.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.pl.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.pot codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.pt_BR.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.pt.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.ru.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.sk.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.tr.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.uk.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
lclstrconsts.zh_CN.po codetools: fixed compiler version check 2019-03-04 13:32:26 +00:00
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.