[ << Documentation work ] | [Top][Contents] | [ Website work >> ] |
[ < Which documentation can be translated ] | [ Up : Getting started with documentation translation ] | [ Documentation translation details > ] |
Starting translation in a new language
At top of the source directory, do
./autogen.sh
or (if you want to install your self-compiled LilyPond locally)
./autogen.sh --prefix=$HOME
If you want to compile LilyPond – which is almost required to build
the documentation, but is not required to do translation only – fix
all dependencies and rerun ./configure
(with the same
options as for autogen.sh
).
Then cd
into ‘Documentation/’ and run
make ISOLANG=MY-LANGUAGE new-lang
where MY-LANGUAGE is the ISO 639 language code.
Finally, add a language definition for your language in ‘python/langdefs.py’, ‘Documentation/lilypond-texi2html-lang.init’ and ‘Documentation/webserver/lilypond.org.htaccess’. Add this language definition and the corresponding section in ‘Documentation/lilypond-texi2html.init’ and ‘scripts/build/create-weblinks-itexi.py’.