2002-04-05 10:29:23 +00:00
|
|
|
This file is intended to provide information about the different translation
|
|
|
|
files. If you want to make one for your language, please read
|
|
|
|
"Help->Customization" for more information, and the information below.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
How can I update an existing po file?
|
|
|
|
-------------------------------------
|
|
|
|
|
|
|
|
It requires a bit of work to get started, but once you are set up,
|
|
|
|
the procedure should be relatively easy:
|
|
|
|
|
|
|
|
1) Getting ready
|
|
|
|
|
|
|
|
Get and install gettext (available from ftp://alpha.gnu.org). Read the
|
|
|
|
documentation for gettext. Then get the latest LyX distribution including
|
2002-04-05 10:29:23 +00:00
|
|
|
patches, and unpack it in your home directory. It is yet better if you checkout
|
|
|
|
the CVS version of LyX.
|
|
|
|
Read the README in the LyX distribution.
|
1999-09-27 18:44:28 +00:00
|
|
|
Check the mailing list archives to learn what is going on at the moment.
|
2002-04-05 10:29:23 +00:00
|
|
|
Consider subscribing to the developer's mailing list, lyx-devel@lists.lyx.org.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
2) Preparing a patch
|
|
|
|
|
2002-04-05 10:29:23 +00:00
|
|
|
Now do (where XX stands for the code of your language):
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
cp -R lyx-*.*.* lyx.new
|
2002-04-05 10:29:23 +00:00
|
|
|
(Which makes a copy of the source distribution for
|
|
|
|
you to change, but you should work in a CVS workarea)
|
|
|
|
cd lyx.new/po/
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2002-04-05 10:29:23 +00:00
|
|
|
make XX.pox
|
|
|
|
(It merges the po file into the temporary file XX.pox)
|
|
|
|
emacs XX.pox
|
|
|
|
(Using po-mode. Emacs is convenient for po editing, but not
|
|
|
|
mandatory.)
|
|
|
|
(Make all necessary changes in XX.pox, and save.)
|
|
|
|
mv XX.pox XX.po
|
|
|
|
rm XX.pox~
|
|
|
|
(To remove Emacs autosave.)
|
|
|
|
make XX.gmo
|
|
|
|
(Update the ChangeLog file.)
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2002-04-05 10:29:23 +00:00
|
|
|
cd ..
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2002-04-05 10:29:23 +00:00
|
|
|
(Maybe update lib/CREDITS)
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2002-04-05 10:29:23 +00:00
|
|
|
cvs diff -u > XX_po_update.patch
|
|
|
|
(Or whatever good method to have a patch in unified diff format)
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
3) Submitting the patch
|
|
|
|
|
2002-04-05 10:29:23 +00:00
|
|
|
Check your patch and mail it to lyx-devel@lists.lyx.org
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
Thanks!
|
|
|
|
|
|
|
|
The LyX Team.
|
2002-04-05 10:29:23 +00:00
|
|
|
|