Language change on site database - just a push in the right direction RRS feed

  • Question

  • User309982698 posted


    I want to do a site with suport for more languages, just like it is here on this site.I got some questions about this i just need to clarify before i start working with it.

    1. I seen some tutorials about Globalization and Localization and they use .resx to get the different texts from. Now i guess that is for lets say the headers, menus and so on, im i right? not body text e.i a blog post.

    2. How can i do/how do i do to get e.i text from a database depending on the lang? e.i presentation text is in 3 langs..

    Tips, articles, examples or explinations is welcome

    Thanks in advance

    Thursday, November 5, 2009 8:35 AM


All replies

  • User-1504620236 posted

    The contents can be translated to  any language by Google Translation API.

    Thursday, November 5, 2009 7:26 PM
  • User1577733570 posted


    Answer for your first query is, whenever we are localizaing an application all text which displayed to the user should come from resx file or database. If your application takes input from user then, it should allow user to type in his/her own language.

    Please refer below link for more information-



    For your second query, if you are using database instead of resx file, then all the text should be stored in key- value pair form similar to resx file's key-value pair. Then fetch the data and put it in aplication. Refere below link for more information.


    Hope this will give you a quite fair idea :)



    Thursday, November 5, 2009 10:43 PM
  • User309982698 posted

    thanks leena.d.patil. the information was pretty good.. i get the idea now i just have to execute it :)

    any code examples is appriciated

    Monday, November 9, 2009 7:37 AM
  • User1577733570 posted


    Refer below link-


    It contains code samples for fetching values from '.resx' file.


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, November 9, 2009 10:22 PM