locked
How to change the wording of the language? RRS feed

  • Question

  • User643189141 posted

    Hi,

    how to change the wording of the language?


    My idea:

    In my text file, labeled according to the selected language.


    Examples:

    English:
    How are you?

    Germany:
    Wie geht es Ihnen?


    I have a document default.aspx

    I have a combobox in which languages English and Germany.
    English click, print: "How are you?" or Germany, print "Wie geht es Ihnen?"

    How do they do ?
    How to display text on the page default.aspx?


    Bye

    Thursday, April 8, 2010 3:07 PM

Answers

  • User-821857111 posted

    You can do this using Resource files: http://msdn.microsoft.com/en-us/library/fw69ke6f%28VS.80%29.aspx


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, April 8, 2010 3:47 PM
  • User-821857111 posted

    Depending on the country (IP) change the language?

    No. We set a default language (English), but check the preferred language setting in the user's browser and use that if there is one. We also provide a mechanism for the user to select their preferred language, and set a cookie with that choice.  So the process goes like this:

    1. Check for the existence of a cookie, and use that language if it exists
    2. If not, check the Preferred language in the browser and use that if it exists
    3. If there is no preferred language, use English


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, April 9, 2010 3:33 AM

All replies