Curate the English translation file (duplications, missing new lines)#5635
Merged
tdonohue merged 2 commits intoMay 8, 2026
Merged
Conversation
tdonohue
approved these changes
May 8, 2026
Member
tdonohue
left a comment
There was a problem hiding this comment.
👍 Thanks @kanasznagyzoltan ! This cleanup looks correct to me. I also deployed it and verified there are no issues with the English version of the UI.
Looks like some of these i18n keys are specific to 10.0, so this wouldn't be possible to automatically backport. But, if you would like to manually backport any of these changes to 9.x (or earlier), please feel free to create a separate backport PR against dspace-9_x branch (and similar)
Contributor
Author
|
Thank you @tdonohue! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
References
Description
Curated the en.json5 translation file by removing duplicate keys, adding missing keys used in templates, and fixing formatting inconsistencies to ensure proper JSON5 structure.
Instructions for Reviewers
List of changes in this PR:
Duplicates removed:
collection.form.errors.entityType.requiredcollection.form.errors.submissionDefinition.requiredform.other-information.person_identifier_orciditem.preview.dc.identifier.otheritem.preview.dc.descriptionRELATION.Project.researchoutputs.search.results.headMissing keys added:
context-menu.actions.subscription.frequency.requiredexternal-login.confirmation.emailexternal-login-page.orcid-confirmation.netid.labelldn-new-service.form.error.ldnurl.ldnUrlAlreadyAssociatedsubmission.sections.custom-url.label.removesubmission.sections.describe.relationship-lookup.toggle-dropdownInstructions for Reviewers
Verification commands:
Check for duplicates
grep -E '^\s*"[^"]+":' src/assets/i18n/en.json5 | sort | uniq -d
Validate JSON5
npx json5 -v src/assets/i18n/en.json5
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You do not need to complete this checklist prior creating your PR (draft PRs are always welcome).
However, reviewers may request that you complete any actions in this list if you have not done so. If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!
mainbranch of code (unless it is a backport or is fixing an issue specific to an older branch).npm run lintnpm run check-circ-deps)package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.