locked
Multiple Domains Site Design Decision RRS feed

  • Question

  • User-2065933062 posted

    Hi, i am developing a project that its domain is meaningful in my native language. So i bought a second English domain for global usage.

    My question is, how should i construct my site?

    • Two different projects or one project with localization support?
    • Two different databases or shared database?

    What is my goal?

    • Dont want to show English content in native site, vice versa
    • I want to easily update site

    If you suggest me to use shared database, could you please describe me design principle of database?

    Thank You.

    Thursday, July 9, 2009 2:59 AM

Answers

  • User2130758966 posted

    If the content and design is going to be exactly the same but just available in two languages then I would use the built in localization support.


    You can use a piece of code which sniffs out the domain thats being called and then sets the locale for the UI. This reduces the maintainance overhead by only having to view one site and it lets the user switch languages while they are on the site if they want to.


    You will need to learn about the resource files that it uses:

    If you want to create a CMS around it then you are going to need to learn how to edit resx files programatically:

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 9, 2009 5:52 AM