![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Thread.CurrentThread.CurrentCulture = frenchCulture; .... //Will correctly extract the ERR_DIR_BUSY msg from galeryMaker.messages.fr-FR.resx string test = messages.GetString("ERR_DIR_BUSY", frenchCulture); // Will fail string test = messages.GetString("ERR_DIR_BUSY"); |
#3
| |||
| |||
|
|
Thread.CurrentThread.CurrentCulture = frenchCulture; ... //Will correctly extract the ERR_DIR_BUSY msg from galeryMaker.messages.fr-FR.resx string test = messages.GetString("ERR_DIR_BUSY", frenchCulture); // Will fail string test = messages.GetString("ERR_DIR_BUSY"); You have to set Thread.CurrentThread.CurrentUICulture Strings is about UICulture, UICulture is about formatting time/date/numbers/etc. Thank you very much : that was it !! |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |