mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-29 07:07:24 +08:00
fix for [CTT] Response.Servers[0].ApplicationName.Locale is empty
by default set all LocalizedText to InvariantCulture two letter iso code
This commit is contained in:
@@ -150,7 +150,7 @@ namespace Opc.Ua
|
||||
/// <param name="text">The plain text stored within this object</param>
|
||||
public LocalizedText(string text)
|
||||
{
|
||||
m_locale = null;
|
||||
m_locale = CultureInfo.InvariantCulture.TwoLetterISOLanguageName;
|
||||
m_text = text;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user