Last post Jan 14, 2012 02:54 PM by Nattali
Jan 14, 2012 02:54 PM|Nattali|LINK
I have created a custom people picker control for Sharepoint 2010 based on EntityEditorWithPicker control. This control comes with 3 buttons that I didn't add to code, they just were there (probably, inherited from parent control): OK, Cancel and Add->
My Sharepoint site has several language packs installed. But when I switch display language from the top-right site menu, these 3 buttons stay with English text while buttons on all other controls (in all other windows) are translated into desired language.
When I query CurrentCulture variable, I am getting en-US language even after I have switched the language, but CurrentUICulture variable contains new language. Could it be that Resource Manager is not able to load proper text for buttons because CurrentCulture!=CurrentUICulture?