Multi lingual resx files RRS feed

  • Question

  • User113961080 posted


    I am implementing a multi lingual support in my web site.

    I am using resx file to achieve this.

    I want to know, What approach I should follow in naming the strings in resx files?

    If there is any article or sugession then please update me.


    Muhammad Naveed Khan

    Wednesday, January 5, 2011 12:55 PM


All replies

  • User94323121 posted

    Hi Muhammad,

    For me, i just use the name of the control and add the properties.

    Ex :


    Name             Value

    label1.text     Bienvenue


    Name             Value

    label1.text     Welcome


    N.B. In your code, always keep in mind to put the name of your controls as short as possible.

    Wednesday, January 5, 2011 2:24 PM
  • User113961080 posted

    Currently What I have done is

    Name: Web.Public.Controls.Logo1.lkbSignOut

    Value: Sign Out


    Name: Web.Public.Controls.Logo1.lblSlogan

    Value: World's best businees minds



    What you think about this?

    Wednesday, January 5, 2011 3:16 PM
  • User94323121 posted

    Look at this video and you will understand : http://www.asp.net/general/videos/how-do-i-create-a-multi-lingual-site-with-localization


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, January 6, 2011 2:58 PM