Add multiple locales to the model | OPC UA Standard | Forum

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
Add multiple locales to the model
Avatar
Rach Rach
New Member
Members
Forum Posts: 2
Member Since:
03/25/2021
sp_UserOfflineSmall Offline
1
03/25/2021 - 05:36
sp_Permalink sp_Print

Hi Team,

I am using the prosys Opc Ua Java SDK for opc Ua server developement and UaExpert as my client . UaModeler is used for modeling.
I would like to know if it is possible to add multiple Locales to localizedText typed attributes like Description and Display Name in UaModeler.My use-case is to add Description in multiple languages.

I also tried to add multiple descriptions to generated xml and upload it to UaModeler like:

<Description Locale="en">The name of the manufacturer (e.g. "Siemens Mobility GmbH").</Description>
<Description Locale="de">Der Name des Herstellers (z. B. "Siemens Mobility GmbH").</Description>

But only the last one i.e. in "d" locale is shown in the model. Kindly suggest if it is possible to add multiple locales  to the model .


Thanks
Avatar
Randy Armstrong
Admin
Forum Posts: 987
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
03/25/2021 - 14:47
sp_Permalink sp_Print

The schema supports what your are trying to do but the tooling may not allow you to edit it in the tool.

You should confirm that you can save the XML after import and the extra strings are not lost.

If they are lost it is bug in UaModeller that needs to be reported to the vendor.

Avatar
Rach Rach
New Member
Members
Forum Posts: 2
Member Since:
03/25/2021
sp_UserOfflineSmall Offline
3
03/25/2021 - 22:28
sp_Permalink sp_Print sp_EditHistory

When I import and save the xml with multiple description like:

The name of the manufacturer (e.g. "Siemens Mobility GmbH").
Der Name des Herstellers (z. B. "Siemens Mobility GmbH").

In the UAModeller, I can only see last description i.e.

de "Der Name des Herstellers (z. B. "Siemens Mobility GmbH")."

Please suggest if I there is some other way to add multiple descriptions in the xml so that I can view them in UAModeler as well or of this is the correct way.

Avatar
Randy Armstrong
Admin
Forum Posts: 987
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
03/26/2021 - 04:27
sp_Permalink sp_Print

You need to ask Unified Automation.

The tool seems to only use 1 of the strings.

I only wanted to see if you had the option of manually editing the file.

Forum Timezone: America/Phoenix
Most Users Ever Online: 202
Currently Online: Alexander Allmendinger, Dawid Jochymek
Guest(s) 24
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1083
Posts: 3482