learningequality / learningequality/le-utils

Refactor languagelookup.json

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7
Forks
36
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating languagelookup.json and all language lookup functions in the le-utils repository. Compare the existing Navajo entry with the requested schema, then inspect the linked Tetun issue for the additional language requirements. Done means the new name fields, Tetun data, and every lookup path consistently use the updated format.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.