Localisation in xml with model builder|OPC UA Implementation: Stacks, Tools, and Samples|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Localisation in xml with model builder
Avatar
John Cockrell
Member
Members
Forum Posts: 10
Member Since:
12/16/2020
sp_UserOfflineSmall Offline
1
02/25/2025 - 02:29
sp_Permalink sp_Print sp_EditHistory

Hello,

I’m using UA ModelCompiler for C# and need to include descriptions with multiple language options in my design .xml file. However, I encountered issues where the generated .xml does not properly include Locale attributes, leading to missing translations.

I found a previous GitHub issue (https://github.com/OPCFoundati…../issues/95) where this problem was reported, and a contributor mentioned that “Specifying a locale is a missing feature in the ModelDesign schema” and that they would investigate adding it. This was reported in 2021, but the issue is still open.

My Questions:

  1. Has support for specifying Locale in Descriptions been added to the latest Dotnet UA ModelCompiler?
  2. If not, is there a recommended workaround to ensure multi-language descriptions are correctly included in the generated .xml?
  3. Is there an official way to use external translation resources or link translations via the Key attribute, as mentioned in the UA Model Design.xsd? I’ve got a version working where I override the custom node manager 2’s read method to add some localisation logic, but that seems like a lot of effort for something that should be part of the model building process already. 

I appreciate any updates or guidance on this!

Thanks,

John

Avatar
Randy Armstrong
Admin
Forum Posts: 1600
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
02/28/2025 - 10:46
sp_Permalink sp_Print

Not supported at this time.

You can look at other ModelDesigner such as SiOME.

https://support.industry.sieme…..or-(siome)?dti=0&lc=en-CA

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 30
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1460
Posts: 4940