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-lang.init and Documentation/webserver/lilypond.org.htaccess. Add this language definition and the corresponding section in Documentation/lilypond.init and scripts/build/create-weblinks-itexi.py.

LilyPond Contributor’s Guide v2.25.21 (development-branch).