lazarus/components/synedit/languages
mattias 600b3f8418 updated finnish translation from Seppo
git-svn-id: trunk@8405 -
2005-12-31 15:19:14 +00:00
..
README added synedit localization 2002-10-01 15:45:32 +00:00
synedit.ca.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.de.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.fi.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.fr.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.it.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.itiso.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.pl.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.pliso.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.plwin.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.ru.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.ruold.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.ruwin.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synedit.ua.po updated finnish translation from Seppo 2005-12-31 15:19:14 +00:00
synmacrorecorder.ca.po updaed russian win32 translation from Rostislav Okulov 2005-07-24 21:39:45 +00:00
synmacrorecorder.de.po fixed german translation from iso-8859-1 to utf8 2005-08-30 19:44:41 +00:00
synmacrorecorder.fr.po updaed russian win32 translation from Rostislav Okulov 2005-07-24 21:39:45 +00:00
synmacrorecorder.it.po updaed russian win32 translation from Rostislav Okulov 2005-07-24 21:39:45 +00:00
synmacrorecorder.itiso.po updaed russian win32 translation from Rostislav Okulov 2005-07-24 21:39:45 +00:00
synmacrorecorder.pl.po updaed russian win32 translation from Rostislav Okulov 2005-07-24 21:39:45 +00:00
synmacrorecorder.pliso.po updaed russian win32 translation from Rostislav Okulov 2005-07-24 21:39:45 +00:00
synmacrorecorder.plwin.po updaed russian win32 translation from Rostislav Okulov 2005-07-24 21:39:45 +00:00
synmacrorecorder.po updaed russian win32 translation from Rostislav Okulov 2005-07-24 21:39:45 +00:00
synmacrorecorder.ru.po moved *.ruutf.po to *.ru.po 2005-11-08 15:56:05 +00:00
synmacrorecorder.ruold.po moved *.ru.po to *.ruold.po 2005-11-08 15:52:12 +00:00
synmacrorecorder.ruwin.po updaed russian win32 translation from Rostislav Okulov 2005-07-24 21:39:45 +00:00
synmacrorecorder.ua.po updated Ukrainian translations from Evgen Palamarchuck and Taras Boychuk 2005-10-30 21:32:58 +00:00

The <lazarusdir>/components/synedit/languages directory contains all the stuff
for localization of synedit.

All text and messages used in synedit should be placed into the unit
syneditstrconst.pp. This unit uses resourcestring sections, so that the
compiler will create the
<lazarusdir>/components/units/syneditstrconst.rst file.
<lazarusdir>/components/units/synmacrorecorder.rst file.

The following is a in detail description of updating the language files for
synedit. Normally you can just execute the <lazarusdir>/localize.sh script.

Because this is a fpc-only format it must be converted with the rstconv program:

cd <lazarusdir>/components/synedit/languages
rstconv -i ../../units/syneditstrconst.rst -o synedit.po
rstconv -i ../../units/synmacrorecorder.rst -o synmacrorecorder.po

This will create the files synedit.po and synmacrorecorder.po, which should be
translated in all required languages to a synedit.xx.po and a
synmacrorecorder.xx.po file. For the xx see the gettext unit in the procedure
TranslateResourceStrings of the IDE.

german: synedit.de.po and synmacrorecorder.de.po


After the translation, the both po file are converted to .mo files with the
msgfmt program:

msgfmt -v -o synedit.xx.mo synedit.xx.po
msgfmt -v -o synmacrorecorder.xx.mo synmacrorecorder.xx.po

where xx is the language id.