neherlab / covid19_scenarios

Models of COVID-19 outbreak trajectories and hospital demand
https://covid19-scenarios.org
MIT License
1.36k stars 355 forks source link

Not all strings are translated #808

Closed ivan-aksamentov closed 3 years ago

ivan-aksamentov commented 3 years ago

Some of the strings are still rendered in English, even if the correspondent translation is available in JSON resources. In particular some of the resources where the t() function is used as a global.

This might be a bug in i18next initialization, including the improper concurrency/async ordering.

Requires additional investigation.

P.S. Additionally, not all translatable strings are extracted (can be easily fixed with yarn i18n)