Incorrect slug for Kyrgyz locale #5059
Labels
📄 aspect: text
Concerns the textual material in the repository
🛠 goal: fix
Bug fix
🟩 priority: low
Low priority and doesn't need to be rushed
🧱 stack: frontend
Related to the Nuxt frontend
Description
Kyrgyz locale should have
ky
as slug, but in Openverse we incorrectly usekir
.According to Chrome for Developers documentation,
hreflang
should use ISO 639-1 code for language, which isky
1, 2.This value comes from GlotPress:
https://github.com/GlotPress/GlotPress/blob/0de4f9656a954132becffbccca8cc336143c93e2/locales/locales.php#L1604-L1614
Screenshots
The error as reported by Lighthouse:
Additional context
The latest change to Kyrgyz locale properties in GlotPress were done in Update Kyrgyz locale information. However, the changes don't fully match the locale editor request.
Footnotes
https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes ↩
https://www.loc.gov/standards/iso639-2/php/langcodes_name.php?iso_639_1=ky ↩
The text was updated successfully, but these errors were encountered: