vb.net - Setting CurrentUICulture doesn't change the UI culture -


first of all, let me i'm using .net framework 4.0 can't use cultureinfo.defaultthreadcurrentuiculture property.

this being said, here code :

threading.thread.currentthread.currentculture = settings.language.culture threading.thread.currentthread.currentuiculture = settings.language.culture  ' initialize components created visual studio designer ' call required designer. initializecomponent() 

the settings class own , language.culture created globalization.cultureinfo.createspecificculture(...) method. works fine @ other places (even @ other places in ui).

these first calls of program's entry point , yet datetimepickers still show dates in english (the language french).

any idea on how fix this? there property need set somewhere?

** edit **

i changed customformat property of datetimepickers "mmmm dd, yyyy". guess may have caused overriding on culture settings months still in english. how change that?

this arcticle show's why doesn't work. sorry trouble.

why can't change datetimepickers culture


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -