Keep i18n text in sync more consistently #2340
Labels
help wanted
Needs a volunteer to claim to move forward
high priority
i18n / l10n
Internationalisation and localisation, related to message catalogs
improvement
new feature
ux
User Experience related works
As new features are added, we typically provide i18n text in English first and use
yarn sync-i18n
to synchronize these changes to the other translations. If we don't do this, other languages won't always fall back to English if a key is not defined -- you can see this on the https://demo7.dspace.org/profile page:To deal with this issue more consistently, we should either run this synchronization more often or make DSpace less dependent on it -- here's two potential solutions:
Create a new script to check i18n sync, and let it run as a CI step
Combine translation files during build-time
For each non-English language, we could generate the "final" i18n file here as follows:
Then DSpace could continue working in the same way as before even when i18n files are out of sync, and keeping them up-to-date would be less urgent
The text was updated successfully, but these errors were encountered: