On 21/04/2025 17:50, Mats-Olof Liljegren wrote:
I’ve currently solved it by modifying the define-note-names.scm file, which controls the language settings. It works perfectly, but I’ve hacked one of Lilypond’s internal files—which is not a good path.

Dunno whether it works with note names (looks like it might) is simply to include both the English and Swedish definitions?

I basically pulled that sort of stunt with the score header definition. I ripped it out of the standard lily file, copied it into my include directory, and every time I want it (usually all the time) I explicitly include it, where it just over-rides the default definition.

So provided there isn't any code in the language files that clear out any other definition, any clashes should just over-write each other.

Do the Dutch note names always work, regardless of whether another language has been defined? If so, including both should work, but you need to make sure include <english> last or the swedish version will overwrite any shared variants of "b".

Or just strip out the english bits you want, put it in your include file, and 'include "english.ly"'. Which will probably work on a standard install that's missing your special ...

Cheers,
Wol

Reply via email to