learningequality / le-utils

Utilities and constants shared across Kolibri, Ricecooker, and Kolibri Studio
MIT License
2 stars 31 forks source link

Refactor languagelookup.json #73

Open ivanistheone opened 4 years ago

ivanistheone commented 4 years ago

Refactor:

"nv":{
    "name":"Navajo; Navaho",
    "native_name":"Diné bizaad, Dinékʼehǰí"
  },

to

"nv":{
    "name":"Navajo",
    "alt_names": ["Navaho"],
    "native_name":"Diné bizaad",
    "alt_native_names": ["Dinékʼehǰí"],
  },

and update all the language lookup functions to the new format.


Also add Tetun, see https://github.com/learningequality/sushi-chef-stanford-digital-medic/issues/1