lazarus/components/codetools/languages
maxim 8a4020018d Merged revision(s) 52463 #36046a9b4d from trunk:
Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #30250
........

git-svn-id: branches/fixes_1_6@52464 -
2016-06-08 23:14:40 +00:00
..
codetoolsstrconsts.ca.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
codetoolsstrconsts.cs.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
codetoolsstrconsts.de.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
codetoolsstrconsts.es.po codetools: class helpers: find declaration and code completion, patch #28266, from Ondrej Pokorny 2015-06-22 10:02:11 +00:00
codetoolsstrconsts.fi.po codetools: class helpers: find declaration and code completion, patch #28266, from Ondrej Pokorny 2015-06-22 10:02:11 +00:00
codetoolsstrconsts.fr.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
codetoolsstrconsts.he.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
codetoolsstrconsts.hu.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
codetoolsstrconsts.id.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
codetoolsstrconsts.it.po codetools: class helpers: find declaration and code completion, patch #28266, from Ondrej Pokorny 2015-06-22 10:02:11 +00:00
codetoolsstrconsts.lt.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
codetoolsstrconsts.nl.po codetools: class helpers: find declaration and code completion, patch #28266, from Ondrej Pokorny 2015-06-22 10:02:11 +00:00
codetoolsstrconsts.pl.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
codetoolsstrconsts.po codetools: class helpers: find declaration and code completion, patch #28266, from Ondrej Pokorny 2015-06-22 10:02:11 +00:00
codetoolsstrconsts.pt_BR.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
codetoolsstrconsts.ru.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
codetoolsstrconsts.sk.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
codetoolsstrconsts.uk.po Merged revision(s) 52463 #36046a9b4d from trunk: 2016-06-08 23:14:40 +00:00
codetoolsstrconsts.zh_CN.po Merged revision(s) 50914-50923 #8138f89a1c-#8138f89a1c, 50925 #e1239e4c94 from trunk: 2015-12-19 00:06:27 +00:00
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.