Localized alarm text messages
Posted: 11 Mar 2021, 20:20
Hi,
https://forum.unified-automation.com/viewtopic.php?f=18&t=637 same question as this one, but for .NET sdk:
I have a question about localized strings in OPC UA server, especially alarm messages.
When the client connects to the OPC UA server, in the session there should be also an information about localization (en, fr, de,....).
Is it possible to send an event to the client with localized text based on the localization set in the session?
C# stack has some "resource manager" which should take care of this, but looks like the SDK doesn't translate automatically my messages when I call ReportEvent. Also if I try doing it calling manually ResourceManager.Translate I don't succeed because I have no information about the session's preferred locales.
https://forum.unified-automation.com/viewtopic.php?f=18&t=637 same question as this one, but for .NET sdk:
I have a question about localized strings in OPC UA server, especially alarm messages.
When the client connects to the OPC UA server, in the session there should be also an information about localization (en, fr, de,....).
Is it possible to send an event to the client with localized text based on the localization set in the session?
C# stack has some "resource manager" which should take care of this, but looks like the SDK doesn't translate automatically my messages when I call ReportEvent. Also if I try doing it calling manually ResourceManager.Translate I don't succeed because I have no information about the session's preferred locales.