HighTechTalks DotNet Forums  

globalization of remote objects on clients?

Dotnet Internationalization microsoft.public.dotnet.internationalization


Discuss globalization of remote objects on clients? in the Dotnet Internationalization forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
news.microsoft.com
 
Posts: n/a

Default globalization of remote objects on clients? - 10-12-2004 , 08:18 AM






Hi,

I have a the following problem:
In a client/server application clients must be able to run in different
languages (culture's).

situation:
The resourcestrings are located on the server. The server is accross the
application boundaries; the client(s) use a remote object to translate the
strings.

what goes wrong:
When 2 clients use different culture's the
Thread.Currenthread.CultureUICulture and CurrentCulture (on the server) are
set to whatever the settings are on the last started client. So client 1
gets a the string in a wrong language.

what doesnt work:
I cannot use the overloaded function getstring from the resourcemanager
(with the culture as extra parameter) since we use third party components
which dont have these overloaded functions.
I cannot set the Thread.Currenthread.CultureUICulture and CurrentCulture on
the server every time i do something on the client. Not only is it not good
for performance, but more important: it is possible that before the server
provides an answer, client2 could have set a different culture.

Does anyone have a solution for the problem? What is the best way to handle
this (threadpool?!)? Anyone has an example somewhere?

Thanks in advance



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.