locked
best way to localize website RRS feed

  • Question

  • User969992919 posted

    Hi,
     
    I want to ask what's the best way to localize a whole website? is it by dumping the entire website under language folder? like domain.com/english and domain.com/arabic?
     

    Thanks,
    Jassim

    Monday, June 6, 2011 8:31 AM

Answers

All replies

  • User-1157892548 posted

    Hi,

    For english and arabic it is better to use different folder structure because of the difference in the direction. Arabic is rtl and english is ltr. 

    Use usercontrols and try to minimize code reuses.

    Otherwise you need to display content from resource file and switch the resource files according to the cultureinfo.

    For english and arabic also if you can switch the css files also from the resource file it is not required to have different path for english and arabic.

    Monday, June 6, 2011 8:47 AM
  • User-1509636757 posted

    asp.net has best support to develop multilingual sites. To localize an asp.net site you can use Globalization and Localization. In easiest work, localize a site means setting the cultureinfo for current user and use the corresponding resx files for that language. Obviously, you need to maintain different resx files per language that you wanted to have.

    Just search for ASP.NET Localization

    here is one of example: ASP.NET Localization (Quick Reference)

    hope it helps./.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 6, 2011 8:48 AM
  • User-125547262 posted

    I would recommend using the localization features that are available as a part of the framework

    http://msdn.microsoft.com/en-us/library/dfs80h33(v=vs.80).aspx

     

    http://msdn.microsoft.com/en-us/library/fw69ke6f(v=VS.100).aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 6, 2011 8:48 AM
  • User-1503750829 posted

    You may wish to check out my article found here: http://www.aspnet-localization.com/aspnet/how-to-send-your-asp-net-resx-files-to-a-translator/. I also sell a professional resx localization tool that greatly simplifies the process of sending your strings to a translator (a Visual Studio add-in and standalone translator's app). A feature that supports automated translation will also likely be available in the next few months.

    Monday, July 11, 2011 3:05 PM