I have a WPF application implemented with Gloablization feature.It uses satellite assembly to get localized resources.
I changed the Region and Language settings.System.Threading.CurrentThread.CurrentCulture is changed but CurrentUICulture is not set.
Do we have to install os language pack? Or Is there any other configuration settings?
Thanks
Well I guess the only solution is to set the Thread.Current.CurrentUICulture
according to CultureInfo.InstalledUICulture
in the eg Application.OnStartUp
method. Pls have a look at this SO post and this MSDN doc.
I think the following should do the trick.
Thread.Current.CurrentUICulture = CultureInfo.InstalledUICulture;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.