How2 get the full name of the language from the PslLanguage.LangCode?

Hello community, 

I work with PASSOLO automation several years. Now I'm challenged to get the full language name[1] using the PASSOLO automation. 

I'm able to get all translation languages, but I'd like to get the complete string like it is listet in the ComboBox behind "Sprache" (see [1])

Aim is an output like: 

lang.LangCode: chs
lang.LangID:      2052
Language:         Chinesisch (vereinfacht / China)

Thanks in advance for all hints. 

[1] E. g.: 

lang.LangCode: chs 
lang.LangID: 2052


PASSOLO 'Sprache' dialog box with language selection dropdown showing 'Chinesisch (vereinfacht  China)'. Fields display Primar-ID: 4, Sub-ID: 2, and language codes 2052, 804, chs, zh-CN, zh, chi, zho.



Generated Image Alt-Text
[edited by: RWS Community AI at 3:02 PM (GMT 0) on 14 Nov 2024]
emoji