Windows / delphi中从哪里获取Alpha 3语言扩展?

Under delphi, when I click Project > Language > add I can see a list of language with an alpha 3 extension code (example: afk for Afrikaans, aze for Azeri, fra for french, etc.) Those alpha 3 code are not ISO 639-3 alpha 3 code! so where are those alpha 3 code are coming from? those code seam to be related to windows and not to Delphi, but I can find from where exactly.

注意:在Windows 10中,“项目”>“语言”>“添加”显示许多以ZZZ作为扩展名的语言,例如Dzongkha的ZZZ,这是什么意思?

enter image description here

评论
朕好萌
朕好萌

AFAIK, that string is taken from a call to GetLocaleInfo with LCType set to LOCALE_SABBREVLANGNAME.

See: LOCALE_SABBREV* Constants

点赞
评论