I've been asked to implement the French translation of an ASP.NET 3.5 website. Each translation is going into its own separate website (www.mysite.com, www.mysite.mx, www.mysite.ca, etc). Unfortunately the previous programmer did not implement localization, so each site will have its separate set of files - this is not negotiable.
This French version will also go into its own website (www.mysite.ca), but for the moment I have been asked to put it into a sub-directory of the current site, called /CA (www.mysite.com/ca). I do not want to start messing around with file paths (for navigation and images), because the plan is to move the files in this sub-directory into a separate location in a few weeks. So the only alternative seems to be to move a copy of the site into the sub-directory and set it up as a separate application.
What is the best way to set this up? Since the files in both sites belong to the same namespace and have the same names, how to avoid naming conflicts?
This way you will encounter more headaches in the future. I believe changing the current website, despite of how big it is, is easier than keeping those versions separately.
If you are going to go with your solution, no conflict will happen, since they are different applications, with different AppDomains
. If you want to separate them on execution (so problem in one of them doesn't stop others), create separate Application Pool
s for each of them.