]> git.lyx.org Git - lyx.git/blob - po/README
'Tighter spanish' from Alfredo
[lyx.git] / po / README
1 This file is intended to provide information about the different translation
2 files. If you want to make one for your language, please read
3 "Help->Customization" for more information, and the information below.
4
5 How can I update an existing po file?
6 -------------------------------------
7
8 It requires a bit of work to get started, but once you are set up,
9 the procedure should be relatively easy:
10
11 1) Getting ready
12
13 Get and install gettext (available from ftp://alpha.gnu.org). Read the
14 documentation for gettext. Then get the latest LyX distribution including 
15 patches, and unpack it in your home directory. It is yet better if you checkout
16 the CVS version of LyX.
17 Read the README in the LyX distribution.
18 Check the mailing list archives to learn what is going on at the moment. 
19 Consider subscribing to the developer's mailing list, lyx-devel@lists.lyx.org.
20
21 2) Preparing a patch
22
23 Now do (where XX stands for the code of your language):
24
25         cp -R lyx-*.*.* lyx.new
26                         (Which makes a copy of the source distribution for 
27                          you to change, but you should work in a CVS workarea)
28                 cd lyx.new/po/
29
30                 make XX.pox
31                         (It merges the po file into the temporary file XX.pox)
32         emacs XX.pox                           
33                         (Using po-mode. Emacs is convenient for po editing, but not
34                          mandatory.)
35             (Make all necessary changes in XX.pox, and save.)
36         mv XX.pox XX.po
37         rm XX.pox~
38                         (To remove Emacs autosave.)
39                 make XX.gmo
40                 (Update the ChangeLog file.)
41
42                 cd ..
43
44                 (Maybe update lib/CREDITS)
45
46                 cvs diff -u > XX_po_update.patch
47                         (Or whatever good method to have a patch in unified diff format)
48
49 3) Submitting the patch
50
51         Check your patch and mail it to lyx-devel@lists.lyx.org
52
53 Thanks!
54
55 The LyX Team.
56