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

Last post 11-09-2009 10:22 PM by leena.d.patil. 4 replies.

Sort Posts:

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

    11-05-2009, 8:35 AM
    • Member
      143 point Member
    • Jedi302
    • Member since 03-28-2009, 11:25 AM
    • Posts 140

    Hi.

    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

    Remember to click “Mark as Answer” on the post, if it helps you. Because It helps others to find the solution.
  • Re: Language change on site database - just a push in the right direction

    11-05-2009, 7:26 PM
    • Member
      440 point Member
    • sayyazahmad
    • Member since 01-17-2008, 11:46 PM
    • US
    • Posts 87

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

    Please Mark As Answer if it helps you!
  • Re: Language change on site database - just a push in the right direction

    11-05-2009, 10:43 PM
    • Member
      362 point Member
    • leena.d.patil
    • Member since 07-15-2009, 6:31 AM
    • Pune
    • Posts 65

    Hi,

    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-

    http://msdn.microsoft.com/en-us/goglobal/bb688110.aspx

     

    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.

    http://msdn.microsoft.com/en-us/library/aa479334.aspx 

    Hope this will give you a quite fair idea :)

     

     

    Regards,
    Leena


    Please remember to mark replies as answers if you find them useful.
  • Re: Language change on site database - just a push in the right direction

    11-09-2009, 7:37 AM
    • Member
      143 point Member
    • Jedi302
    • Member since 03-28-2009, 11:25 AM
    • Posts 140

    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



    Remember to click “Mark as Answer” on the post, if it helps you. Because It helps others to find the solution.
  • Re: Language change on site database - just a push in the right direction

    11-09-2009, 10:22 PM
    Answer
    • Member
      362 point Member
    • leena.d.patil
    • Member since 07-15-2009, 6:31 AM
    • Pune
    • Posts 65

     Hi,

    Refer below link-

    http://msdn.microsoft.com/en-us/library/ms227982.aspx

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

     

    Regards,
    Leena


    Please remember to mark replies as answers if you find them useful.
Page 1 of 1 (5 items)