Would you try just

defaults read .GlobalPreferences AppleLanguages

to see what you get? Even with the same settings as yours, I get

(
    "de-DE",
    "en-DE",
    "zh-Hant-TW"
)

and filtering this through the sed seems to do the right thing (Do you use the system sed or some other sed, e.g. from homebrew? What does which sed show?).


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.