Localization of ApplicationContext

  • Thread starter Thread starter Tamir Khason
  • Start date Start date
T

Tamir Khason

While working multilingual with Form application which uses default
application context by setting
CurrentThread.CurrentUICulture we can solve almost all problems, BUT while
using custom application context I have to add reloads to each one of forms
envolved, due for some reason it looks like working Multithread (is it
possible? FORM!???) Anyway. while changing Culture in first form it affects
all other forms, BUT not application context itself. In my case I have
controls INSIDE application context (NotifyIcon and menus) inherited from
first form running BUT localizetion of fist form does not affects on it's
childs, WHY? How it's possible to change application context culture

TNX
 
Hi Tamir,

Thank you for posting. Regarding on the issue, I am
finding proper resource to assist you and we will update as soon as posible.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security(This posting is provided "AS IS",
with no warranties, and confers no rights.)
 
Hi Tamir,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to know if we can set the
cultureinfo for the whole application context, so that each thread created
will inherit culture info from it. If there is any misunderstanding, please
feel free to let me know.

As far as I know, the culture info is based on thread. It cannot be
inherited from the application context and we don't have a property in
ApplicationContext to set that. For single threaded application, just set
the culture info for current thread. For multi-threaded app, set culture
for each thread when it starts.

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Back
Top