argv-minus-one / dmg-license

Generate license agreements for macOS .dmg files
MIT License
19 stars 6 forks source link

Only one variation of language displayed in EULA dialog pulldown #17

Open Enoxyzz opened 1 year ago

Enoxyzz commented 1 year ago

We have a problem with Chinese EULA. We would like both Simplified and Traditional Chinese in the language pulldown, but only one of them is added, using the same name (2 characters). Unfortunately also not editable via language-info.json. In that file they have additional specification between parentheses. Guess the same problem might occur for variations on English (US, UK).

argv-minus-one commented 1 year ago

I tried it myself, and you're right. macOS doesn't show all of the languages present in the disk image. Like you thought, it does the same thing with English as it does with Chinese.

All of the supplied languages are included in the disk image as expected, but macOS ignores some of them. I don't have access to the macOS source code and I don't have any contacts at Apple to ask questions of, so there's not much I can do about this.

I'm also not inclined to spend a lot of time and effort on this, because Apple will most likely remove disk image license agreement functionality entirely in an upcoming macOS version, at which point dmg-license will no longer work at all.

Enoxyzz commented 1 year ago

Ok, thanks for the info, then we'll just provide one chinese version there.