sample server project for retrieving events that supports multiple locale #2223
Replies: 3 comments
-
The client can only select a single language when it connects ( the list is
the preferred list of languages) Server is supposed to return with the
first one in the list if it supports it.
There is an open mantis issue related to this topic -
https://mantis.opcfoundation.org/view.php?id=5487 - this is a feature
request to allow a client to get multiple languages
paul
\
…On Thu, Jul 13, 2023 at 12:24 AM VVN ***@***.***> wrote:
Hi,
I am working on a client that would subscribe to the events from server
that support multiple languages, I was looking for a sample server to work
with, in case anybody can share if such a sample exist, or alternative
would be help full.
I was trying to understand how the events shall be returned. considering
an example of BaseEventType, has a message field with localized text
datatype, in such case if a clients sets the preferred locale to all the
supported languages (Server -> ServerCapabilities -> LocaleIdArray) does
the server response with multiple events notification per supported
language for the same event?
Any input shall be appreciated
Thanks
Vivek
—
Reply to this email directly, view it on GitHub
<#2223>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEI2CSB22JCT2P3BB7CQKUDXP52AZANCNFSM6AAAAAA2ILJX3Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
With the current state of things, an alternative would that the client opens multiple session by specifying the different locale per session. For example, if the server support 2 languages, then client opens 2 session and activate the session with separate locale, this way the client can get the events in multiple locales. are there any other way, that I could be missing. Thanks for the input. |
Beta Was this translation helpful? Give feedback.
-
Your use case is the exact case the Manis issue is trying to address (it
was discussed in the last UA meeting and we think the solution will work)
but it will not make the 1.05.03 release. So the only available solution
at this point is as you described - multiple session with different Locale
Paul
…On Thu, Jul 13, 2023 at 2:27 AM VVN ***@***.***> wrote:
With the current state of things, an alternative would that the client
opens multiple session by specifying the different locale per session. For
example, if the server support 2 languages, then client opens 2 session and
activate the session with separate locale, this way the client can get the
events in multiple locales.
The goal is historize the data in all the languages and later can be
retrieved based on the requesting historical client locale preference.
are there any other way, that I could be missing.
Thanks for the input.
Vivek
—
Reply to this email directly, view it on GitHub
<#2223 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEI2CSED54UUTTZJNDL6VW3XP6IOXANCNFSM6AAAAAA2ILJX3Q>
.
You are receiving this because you commented.Message ID:
<OPCFoundation/UA-.NETStandard/repo-discussions/2223/comments/6434578@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I am working on a client that would subscribe to the events from server that support multiple languages, I was looking for a sample server to work with, in case anybody can share if such a sample exist, or alternative would be help full.
I was trying to understand how the events shall be returned. considering an example of BaseEventType, has a message field with localized text datatype, in such case if a clients sets the preferred locale to all the supported languages (Server -> ServerCapabilities -> LocaleIdArray) does the server response with multiple events notification per supported language for the same event?
Any input shall be appreciated
Thanks
Vivek
Beta Was this translation helpful? Give feedback.
All reactions