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:
Martin Regen
2017-06-01 12:36:29 +02:00
parent 214509f5d4
commit 6fc036b3ea
@@ -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;
}