ASP.NET 2.0 Localization effects on cookies and query strings

G

Guest

Hi, I haven't had much luck in finding anything on this subject matter. I
have a decent understanding of localization techinques but am not quite sure
about some of the more simple things related to it. For example, say a user
is in china, do they enter the english version of the url to go to the site?
Say www.mysite.cn ? or do they enter the url with chinese characters? Can i
read and write a cookie to their system using a english value for the cookie?
Such as anonymousid = 1234? Also, if i have a gridview with a hyperlink
column that passes a ID with the querystring, like
www.mysite.cn/details.aspx?ID=12, will that be still the same for all
languages?
Thanks
 
W

Walter Wang [MSFT]

Hi,

From ASP.NET point of view, you normally localize your web site using
resource in which case you have one single web site for users from differnt
countries. For example:

#Localization of the ASP.NET login control
http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet.webc
ontrols/browse_thread/thread/6fb7e039204dc7d2/

All you have to do is install the language packs and use
'UICulture="auto"', then depending on your users' client browser settings,
the same web page will be displayed in different languages.

Also, other languages such as Chinese are compatible with English, which
means read and write a cookie to their system using English value will be
OK. As for the querystring, I believe browser will encode it using UTF-8,
which means you can safely use it to pass values even in other languages.

Sincerely,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Walter Wang [MSFT]

Hi,

I am interested in this issue. Would you mind letting me know the result of
the suggestions? If you need further assistance, feel free to let me know.
I will be more than happy to be of assistance.

Have a great day!

Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top