Closed odelmarcelle closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
e186814
) to head (b735056
). Report is 13 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hello,
I was a bit disappointed that #141 did not implement alpha-2 languages codes, so here's my take at the implementation. Unlike #141, I tried to follow as closely as possible the existing implementation in
country.py
.I thought that naming the types following convention in
country.py
was also much clearer than the obscure segmentation of the ISO 639 standards. Hence, I created two new types:LanguageAlpha2
andLanguageName
and I would suggest refactoringISO639_3
andISO639_5
intoLanguageAlpha3
.