-
Notifications
You must be signed in to change notification settings - Fork 532
Keep i18n text in sync more consistently #2340
Copy link
Copy link
Open
Labels
help wantedNeeds a volunteer to claim to move forwardNeeds a volunteer to claim to move forwardhigh priorityi18n / l10nInternationalisation and localisation, related to message catalogsInternationalisation and localisation, related to message catalogsimprovementnew featureuxUser Experience related worksUser Experience related works
Metadata
Metadata
Assignees
Labels
help wantedNeeds a volunteer to claim to move forwardNeeds a volunteer to claim to move forwardhigh priorityi18n / l10nInternationalisation and localisation, related to message catalogsInternationalisation and localisation, related to message catalogsimprovementnew featureuxUser Experience related worksUser Experience related works
Type
Projects
Status
📋 To Do
As new features are added, we typically provide i18n text in English first and use
yarn sync-i18nto 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