Hi
I try localize RadGridView to Slovak culture.
I have resource files in external assemnly MyApp.Resources.
In this assembly I have resouce files named Translations.sk-Sk.resx
This file contains:
GridViewGroupPanelText "Some awesome string will be there"
I MyApp assembly in App.xaml.cs in method OnStartup I set current culture and resource for
LocalizationManager.Manager.Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture =
new
CultureInfo(cultureCode);
LocalizationManager.Manager =
new
LocalizationManager()
{
ResourceManager = Translations.ResourceManager
};
When I try access to GridViewGroupPanelText from ViewModel class it works good.
var groupBy= LocalizationManager.Manager.ResourceManager.GetString(
"GridViewGroupPanelText"
);
But in view RadGridView use still english translations.
Thread.CurrentThread.CurrentCulture is sk-Sk (Slovak).
Windows culture is en-GB.
Any advice?