add indigenous languages not in CLDR (#10684)

This commit is contained in:
Kyℓe Hensel
2025-01-23 01:19:23 +11:00
committed by GitHub
parent 3011acc23c
commit e123ec99a8
5 changed files with 71 additions and 3 deletions
+6
View File
@@ -186,6 +186,12 @@ function generateTerritoryLanguages() {
// override/adjust some territory languages which are not included in CLDR data
territoryLanguages.pk.push('pnb', 'scl', 'trw', 'kls'); // https://github.com/openstreetmap/iD/pull/9242
lodash.pull(territoryLanguages.pk, 'pa-Arab', 'lah', 'tg-Arab'); // - " -
territoryLanguages.au = [
'en', 'aus', 'aer', 'aoi', 'bdy', 'coa', 'dgw', 'gjm', 'gjr', 'gup',
'jay', 'mwf', 'mwp', 'nys', 'pih', 'piu', 'pjt', 'rop', 'tcs', 'tiw',
'ulk', 'wbp', 'wrh', 'wth', 'wyi', 'xdk', 'xni', 'xph', 'xrd', 'zku'
]; // https://github.com/openstreetmap/iD/pull/10684
territoryLanguages.nz.push('rrm'); // https://github.com/openstreetmap/iD/pull/10684
return territoryLanguages;
}