Profile Picture

Localization message in MessageBox

Posted By Pawel Pietrzak 8 Years Ago
Author
Message
Pawel Pietrzak
Problem Posted 8 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 4, Visits: 40
hello

I have a questions.
How can I write a message to this display compatible with my location.
I have already seen the documentation, but I found no answers:

I make Dictionary with:

public static Dictionary<string, string> nativeDictionary = new Dictionary<string, string>()
{
  {"XXX_Nevron_ActiveTabs", "Active Tabs"},
  ...
}


And after:


public static void ApplyDictionary()
{
string curLang = WSConfigurationManager.GetInstance.ApplicationLanguage.Name.ToUpper();
if (curLang.Equals("EN"))
  return;

NDictionary dict = new NDictionary();
foreach (KeyValuePair<string, string> kvp in nativeDictionary)
{
  string text = WSResourceManager.GetString(kvp.Key);
  dict.Add(kvp.Value, text);
}
NLocalizationManager.Instance.SyncDictionary(dict);
}


From Nevron gets worning:
https://www.nevron.com/forum/uploads/images/8ade6a0b-0f5c-425e-8aa9-2cd5.png

I want this message override.
Best regards
Pawel




Similar Topics


Reading This Topic