cospired / i18n-iso-languages

i18n for ISO 639-1 language codes
MIT License
52 stars 29 forks source link

Improve German language names #30

Closed DanielSWolf closed 3 years ago

DanielSWolf commented 4 years ago

The list of German language names (langs/de.json) contains a number of inaccuracies:

Code Current German name Proposed German name
'az' 'Aserbeidschanisch' 'Aserbaidschanisch'
'ht' 'Haitien' 'Haitianisch'
'io' 'Sinohoan' 'Ido'
'ga' 'Irish' 'Irisch'
'mk' 'Makedonisch' 'Mazedonisch'
'na' 'Nauruanisch' 'Nauruisch'
'gd' 'Gälisch-Schottisch' 'Schottisch-Gälisch'
'th' 'Thailändisch' 'Thai'

In addition, there are some entries that are technically correct, but do not represent the most common German name:

Code Current German name Proposed German name
'id' 'Bahasa Indonesia' 'Indonesisch'
'mi' 'Maori-Sprache' 'Maori'
'pa' 'Pandschabi-Sprache' 'Panjabi'
'st' 'Süd-Sotho-Sprache' 'Sesotho'
'cy' 'Kymrisch' 'Walisisch'
e110c0 commented 3 years ago

full German file checked, and mostly followed the suggestions. Found even more stuff to adapt. @DanielSWolf please have a look if that resolves the issue

DanielSWolf commented 3 years ago

Thanks for making these changes! Regarding the two controversial cases:

DanielSWolf commented 3 years ago

@e110c0 I would greatly appreciate if you could publish a new version containing the fixes! Until then, I need to maintain fallback logic for these cases in my own code.

e110c0 commented 3 years ago

just released 2.2.0 generally, you could also use npm i git+https://github.com/cospired/i18n-iso-languages.git#<commit hash> to use an unreleased version in your code