Remove untranslated and/or low translation locales from the locale chooser #4196
Labels
♿️ aspect: a11y
Concerns related to the project's accessibility
✨ goal: improvement
Improvement to an existing user-facing feature
🟨 priority: medium
Not blocking but should be addressed soon
🧱 stack: frontend
Related to the Nuxt frontend
Problem
In our locale dropdown which allows users to choose a translated version of Openverse, we show all available languages, regardless of whether or not these languages have any translations.
For users, this means they may choose their language from the dropdown and see the site fully in English, with a notice that we are seeking translation contributions. This is not an ideal user experience.
Ideally, we either:
For maintainers, the number of translated pages we generate is also likely related to vue-router performance problems which are blocking the #411 project.
Description
We should either remove untranslated locales and or remove untranslated locales and filter translated locales down by a particular % translated in:
openverse/frontend/src/locales/scripts/get-validated-locales.js
Line 59 in 7c6298a
Alternatives
Additional context
The text was updated successfully, but these errors were encountered: