>> To summarize my post: I am trying to create a Norwegian equivalent
>> of the existing \germanChords command called \norwegianChords,
>> which I want to be based on the default English chord name
>> convention, with the following chord transformations:
>>
>> B -> H
>> Bb -> B
> Have a look at
>
> ly/property-init.ly
> scm/chord-name.scm
>
> from your lilypond distribution, and search for chord-name. It
> should give you a hint of how to do it. Do something similar.
Yep :-) Maybe the code below is what you are after.
```
\version "2.26.0"
\language"norsk"
norwegianChords = {
\set chordRootNamer = #(chord-name:markup 'norsk)
\set chordNoteNamer = #(chord-name:markup 'norsk)
\set chordPrefixSpacer = #0
}
<<
\chords {
\norwegianChords
h/fis b
}
{ h'4 b' }
>>
```
Werner