I am working on a website that is going to be distributed in multiple countries, but each county should have its own site. My plan is to have a different database(with the same structure) for each country, but how do I select which database to use depending on which county they are access the website in.
I have seen other sites that use the same principle where they have a .com and a .co.uk address for example and no matter which one you go to you are always provided with content localized to you country. How is this done? Is it possible to customize the database connection string based on the browsers country.
This is the first time I have produced a multi national site so trying to learn as much as I can about localization