-
-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XSL / Utility / Add multilingual support to getIndexField #8042
Conversation
The function is not much used but can be tested by configuring a multilingual metadata as CSW service. Then the document title is the title of the metadata record and should match UI language or use default if not found.
Quality Gate failedFailed conditions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My original issue with this was during sending mails, where I retrieve the language through the same method. I tested this now, which works fine.
I did not test multilingual csw's.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested as changes were similar to some I made for #8044. Tested in emails and csw service settings and it works fine.
Indeed @tylerjmchugh, you made something similar. Here there is a bit more cleanup in RestClient https://github.com/geonetwork/core-geonetwork/pull/8042/files#diff-2911ebdff6a9a4bcaba28f4877e3c0bf4779845d46d2bc0eec919609acaafb9aL421-L450 How do we proceed - we merge first #8044 or you cherry-pick this one in #8044 ? |
@fxprunayre, I think it would be nice if this PR is merged first and then Pr #8044 can merge main branch changes and do any required cleanup. I took a quick scan of the changes in this PR and changes seem good. Hopefully this PR can be merged soon. :) |
The backport to
stderr
stdout
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.2.x 4.2.x
# Navigate to the new working tree
cd .worktrees/backport-4.2.x
# Create a new branch
git switch --create backport-8042-to-4.2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick 57436d36f6ef361dd8b36a59ade861d1185a8321
# Push it to GitHub
git push --set-upstream origin backport-8042-to-4.2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.2.x Then, create a pull request where the |
The function is not much used but can be tested by configuring a multilingual metadata as CSW service.
Then the document title is the title of the metadata record and should match UI language or use default if not found.
It is also use in workflow message.
Checklist
main
branch, backports managed with labelREADME.md
filespom.xml
dependency management. Update build documentation with intended library use and library tutorials or documentationFunded by Vlaanderen