change culture techniques RRS feed

  • Question

  • User-296556072 posted
    hi everyone, i have a multi language site, and i change the languae by setting the current culture and the cultureui in the Application_BeginRequest in the global.asax i set the culture as a part of URL, and then i use the rewrite URL ... now this works good, just the path of images dont work good and i face some problem in it. so is there any other way to change the culture?? thanks in advance Mahmoud Manasrah
    Wednesday, January 19, 2005 7:28 AM

All replies

  • User-158764254 posted
    rewriteing the URL is the cause of your path problems. take a look at using the <base> tag. it should allow you to get your image paths straightened out.
    Friday, January 21, 2005 7:19 AM
  • User-158764254 posted
    and for what its worth... we set our culture based on the value of the browsers language collection. we iterate through the users list until we find a language that we support. if none are supported, then we use en-US.
    Friday, January 21, 2005 7:22 AM