endlessm / kolibri-explore-plugin

The kolibri plugin to add the custom channel representation
MIT License
1 stars 4 forks source link

Improve loading screen translation loading #894

Closed dbnicholson closed 10 months ago

dbnicholson commented 10 months ago

Fallback to regionless locale matching and make our existing translation IDs regionless. This makes it much more likely that a Spanish translation will be used without depending on the browser to setup navigator.languages exactly as we expect. I tested this in Chrome overriding navigator.languages to ['es-MX'] and it DTRT.

Fixes: #893