Closed wgilling closed 1 year ago
Oh wow is it hard to sort through docs about drupal 7, 8, and 9.
OK, i think this will do it. (🤯 ). You need the third translation module, "Configuration Translation," enabled. And you have to do it on a new site (e.g. branch of the starter site)
(I didn't translate the content, sorry, ignore the title)
But for existing sites, I'm not sure what kind of schema updates are necessary. @adam-vessey might know?
btw i found the "cheatsheet" and this page really interesting: https://www.drupal.org/node/1905070
Oh my goodness. How could this even work? :exploding_head: Seems that it is using a different kind of magic by addressing configs somehow, but I won't be able to test this approach for a little while.
This is failing due to the schema for this field -- update from string to label perhaps. See: https://github.com/Islandora/controlled_access_terms/blob/9598fcab8f727d183f2203fb4533db31d54558d7/config/schema/controlled_access_terms.schema.yml#L117
Thanks to Rosie's PR, this pull request should be revisited and potentially change the commit message at least.
GitHub Issue: https://github.com/Islandora/controlled_access_terms/issues/90
What does this Pull Request do?
It wraps the relator type in the t() function.
This allows the agent relator type and the three digit code to be translated via the User Interface translation configurations.
What's new?
A in-depth description of the changes made by this PR. Technical details and possible side effects.
How should this be tested?
A description of what steps someone could take to: