Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make language support more inclusive #253

Merged
merged 5 commits into from
Oct 18, 2024

Conversation

MichaelHoffmeisterFesto
Copy link
Contributor

@MichaelHoffmeisterFesto MichaelHoffmeisterFesto commented Sep 30, 2024

Note: This PR shall be merged after this one:
#252

This branch brings makes language support more inclusive.
This refers to the combo boxes for multi language fields in
the AAS elements and plug-ins.

The original motivation came from:
#34

  • all member nations/ languages of IEC WG24 are included
  • all member nations/ languages of IDTA are included
  • there is an opt-in prepared in the options to include all countries in these lists

For this opt-in, in the options (e.g. src/AasxPackageExplorer/options-debug.json):

"OfferedLangs": "af-ZA,am-ET,ar-AE,ar-BH,ar-DZ,ar-EG,ar-IQ,ar-JO,ar-KW,ar-LB,ar-LY,ar-MA,ar-OM,ar-QA,ar-SA,ar-SD,ar-SY,ar-TN,ar-YE,as-IN,az-az,ba-RU,be-BY,bg-BG,bn-BD,bn-IN,bo-CN,br-FR,ca-ES,co-FR,cs-CZ,cy-GB,da-DK,de-DE,de-AT,de-CH,de-LI,de-LU,dv-MV,el-CY,el-GR,en-GB,en-AU,en-BZ,en-CA,en-cb,en-IE,en-IN,en-JM,en-MT,en-MY,en-NZ,en-PH,en-SG,en-TT,en-US,en-ZA,en-ZW,es-ES,es-AR,es-BO,es-CL,es-CO,es-CR,es-DO,es-EC,es-GT,es-HN,es-MX,es-NI,es-PA,es-PE,es-PR,es-PY,es-SV,es-US,es-UY,es-VE,et-EE,eu-ES,fa-IR,fi-FI,fo-FO,fr-FR,fr-BE,fr-CA,fr-CH,fr-LU,fr-MC,fy-NL,ga-IE,gd-GB,gd-ie,gl-ES,gu-IN,he-IL,hi-IN,hr-BA,hr-HR,hu-HU,hy-AM,id-ID,ig-NG,ii-CN,in-ID,is-IS,it-CH,it-IT,iw-IL,ja-JP,ka-GE,kk-KZ,kl-GL,km-KH,kn-IN,ko-KR,ky-KG,lb-LU,lo-LA,lt-LT,lv-LV,mi-NZ,mk-MK,ml-IN,mn-MN,mr-IN,ms-BN,ms-MY,mt-MT,nb-NO,ne-NP,nl-BE,nl-NL,nn-NO,no-no,oc-FR,or-IN,pa-IN,pl-PL,ps-AF,pt-BR,pt-PT,rm-CH,ro-mo,ro-RO,ru-mo,ru-RU,rw-RW,sa-IN,se-FI,se-NO,se-SE,si-LK,sk-SK,sl-SI,sq-AL,sr-BA,sr-CS,sr-ME,sr-RS,sr-sp,sv-FI,sv-SE,sw-KE,ta-IN,te-IN,th-TH,tk-TM,tn-ZA,tr-TR,tt-RU,ug-CN,uk-UA,ur-PK,uz-uz,vi-VN,wo-SN,xh-ZA,yo-NG,zh-CN,zh-HK,zh-MO,zh-SG,zh-TW,zu-ZA",

In order to allow these features, the language handling
was completely re-newed.

@juileetikekar juileetikekar merged commit 59e02d5 into main Oct 18, 2024
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants