By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,813 Members | 1,252 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,813 IT Pros & Developers. It's quick & easy.

ASP.NET 2.0 Localization effects on cookies and query strings

P: n/a
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
--
TVDJR
Nov 1 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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/micro...rk.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 (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================

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

Nov 2 '06 #2

P: n/a
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 (wa****@online.microsoft.com, 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.

Nov 6 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.