]> git.donarmstrong.com Git - lilypond.git/blob - po/TODO
* po/TODO: suggest to use a dedicated tool like kbabel.
[lilypond.git] / po / TODO
1 TODO
2
3 FIX OR STANDARDISE TARGETS
4
5 * extract translatable strings from source code to `po/out/': at toplevel, do:
6
7     make po
8     make -C po po-update  (or do `make po-update' at toplevel)
9
10 * if there are no errors (a list of changes against `po/' directory may be 
11   displayed, that's ok), do
12
13     cp po/out/*.po po/
14
15   copy the template file for translating to a new language LANG: do
16
17     cp po/out/lilypond.po po/LANG.po
18
19 * and edit your favorite po/LANG.po.  Use a dedicated tool, like kbabel:
20
21     kbabel po/fi.po
22
23   Especially, look for fuzzy and untranslated entries.  At the bottom of 
24   the file may accumulate the list of obsolete translations, which may 
25   help to translate some changed entries and may be safely dropped out.
26
27 * because I never install LilyPond, I (check-out buildscripts/set-lily.sh) 
28   made these links:
29
30     ln -s $LILYPOND_SOURCEDIR/po/out/nl.mo 
31         $PREFIX/usr/share/locale/nl/LC_MESSAGES/lilypond.mo
32     ln -s $LILYPOND_SOURCEDIR/po/out/it.mo 
33         $PREFIX/usr/share/locale/it/LC_MESSAGES/lilypond.mo
34
35   $PREFIX is the --prefix you passed to configure.
36
37   then simply type, e.g.
38
39       LANG=nl lilypond -h
40
41   note that your favorite language should also be listed in locales, check
42
43       locale -a
44