Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6529657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:39:42+00:00 2026-05-25T09:39:42+00:00

I am working on a website that is going to be distributed in multiple

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T09:39:43+00:00Added an answer on May 25, 2026 at 9:39 am

    I would strongly suggest you not to use different databases for each language.
    In fact this would be very much against the DRY principle, as you would have to repeat all the data that is not language dependent in each database and if you want to update one of those fields you would have to do it in each database.

    I would rather suggest you to use the normal global and local resources of ASP.NET. Or if you want to keep the text in the database I would suggest to keep a single one with all the data.

    There are many types of structures of the tables that account for multiple languages and deciding amongst them depends on how many languages you need and other factors.
    here there is a good post about a few strategies: What's the best database structure to keep multilingual data?

    For what concerns the selection of the language automatically I rather prefer using the country of the user based on their IP, same as Google and other big sites. To do this I bought the database of IP from maxmind (it was 50€) and it was easy to implement and very precise.

    I hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a website I'm working on that I should have perfected the layout
I am going to start working on a website that has already been built
I'm working on a website that uses not just frames, but frames within frames
I have a website I've built in django that I'm trying to get working
I'm currently working on a website that works without any javascript. I'm going to
I have a website that keeps going up and down, and I never know
I have a website that i've been working on for about a year now.
I have an ASP.NET Razor website that is working properly when I test locally
I have been going through documentation and such and have SVN working, but I
I'm working in a website that is going to work like a landing point,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.