-
Notifications
You must be signed in to change notification settings - Fork 23
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
Translatable configurable metadata #1292
base: main
Are you sure you want to change the base?
Translatable configurable metadata #1292
Conversation
2fba06d
to
1caa10e
Compare
@MKodde Would you please help me fix the last few unit tests? 🙎🏻♂️ I'm stuck and this close to going |
1caa10e
to
e8bf462
Compare
@tvdijen I think I fixed the unit tests. You where on the right track, but needed some additional translations for the different configured languages (en/nl/pt). Now 🤞 the other tests pass. I also took the liberty to squash the commits, as they are really one atomic whole. But the main reason is to steal (co-author) this commit from you ;) |
51a7a38
to
8c0383e
Compare
This is a continuation of OpenConext#1103 where we made the Organization-data in metadata configurable using the translations-files. However, the result would be like this: <md:OrganizationDisplayName lang="en">My fictional organization</md:OrganizationDisplayName> <md:OrganizationDisplayName lang="nl">My fictional organization</md:OrganizationDisplayName> Instead of: <md:OrganizationDisplayName lang="en">My fictional organization</md:OrganizationDisplayName> <md:OrganizationDisplayName lang="nl">Mijn fictieve organisatie</md:OrganizationDisplayName> Everything was being translated using the default locale. This PR attempts to fix that. See: OpenConext#1292 See: OpenConext#1103
8c0383e
to
0bb2a4e
Compare
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.
Nice work @tvdijen The good news is that the organization display name is now translated, see one last observation in my feedback below
This is a continuation of #1103 where we made the Organization-data in metadata configurable using the translations-files.
However, the result would be like this:
Instead of:
Everything was being translated using the default locale. This PR attempts to fix that.