Open
Description
Hi there
We currently do some validation of language codes in our system. The validation is done based on a regex ^[a-z]{3}$
but I would like to tighten the validation to actual ISO codes. From what I can see in this repo, only the two-letter ISO codes are part of the translations. Is it feasible to add the three-letter ISO codes as well?
Also language info is not part of the main package Nager.Country
, but part of Nager.Country.Translation
, but isn't it relevant to have the spoken language(s) of a country in the main package, like having currencies? Then translations can stay in a separate package to keep the size down (as noted in #2)
Metadata
Assignees
Labels
No labels