Language codes are used to identify languages for Wikipedia and for the translation models used in MinT. Since there are different standards for language codes (using 2 or 3 letters) and exceptional cases, some adjustments in the mappings were needed (T336525). This ticket covers the particular case of Norwegian.
The Norwegian Bokmål Wikipedia lives on no.wikipedia.org for historical reasons, but its content language is nb.
To reflect this in MinT, the following changes are needed:
- Mapping from Wikipedia codes to NLLB-200 codes. In this file the "nb": "nob_Latn" line should be replaced by "no": "nob_Latn"
- List of supported languages. In this file the - nb item should be replaced by - no.