I ran into something while reviewing a template and I’d like to check whether my understanding is correct.
Our template uses the same archetype several times in different roles, e.g. CLUSTER.medication.v2 appears 12 times, renamed per slot to different names to cover different parts of our use case.
In the exported OPT (and web template) from Archetype Designer this survives only for the template’s original language. Looking at the file:
- the primary language names are inlined as
<term_definitions>on eachC_ARCHETYPE_ROOTin<definition>, so they can differ per instance; - all other languages sit in
<ontology>/<component_ontologies archetype_id="...">, and there is exactly one block per archetype, no per-instance dimension in the schema at all.
So in our case the 12 English names are preserved, while German gets a single value per at-code: every one of those 12 clusters ends up with the same name, defined by the first instance of the archetype in the OPT.
Questions:
- Is this a known and accepted limitation of the OPT 1.4 format, or is it something tooling could handle differently?
- For those running multilingual systems: Do you work with actual multilingual OPTs? If yes, what do you choose as primary language?
- Is there a recommended practice?
I’m starting to lose hope of using multilingual templates without dozens of workarounds.
Tagging translation group organizers, in case you are interested: @heidi.koikkalainen @ciprian