c# - WPF: Get default system language -


i working on small wpf application, , dropdown box select language.

now have option in dropdown box select system default language. (in case language windows system).

language dropdown

i used following code set system default language:

system.threading.thread.currentthread.currentuiculture = cultureinfo.installeduiculture; 

but always give english when select french main windows language.

what correct way change this.


Comments

Popular posts from this blog

php - isset function not working properly -

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -