I have been asked to change our web site to be multilingual.
Through investigation I have found that .NET provides a nice way of doing this using it's Globalization and Localization feature.
I'm picking that the best way to do this is to use URL rewriting and have the language specified as part of the URL. This way a link can be given to someone and they will end up seeing the correct language e.g.
www.mysite.com/en/ <-- english
www.mysite.com/ja/ <-- japanese
My question is, how would I best lay out my directory structure for localization and URL rewriting?
My initial thoughs are to create a sinlge english directory and URL rewrite all of the other languages to this directory.
Has anyone else done this? What is the best way to do this?
/Default.aspx <-- redirects to appropriate language depending on the users browser language settings
/images/ <-- images common to all languages
/en/ <-- requests for all languages are URL rewritten to the files in this directory
/en/images_en/ <-- images just for the english site
/en/images_ja/ <-- images just for the japanese site