Websites Language RRS feed

  • Question

  • User1864004540 posted
    Hi all, Is it possible using ASP.Net to show text pages on my website in different languages. I read somewhere, cant remember where about culture settings etc. Is it possible to do what i want to do using such. I am not sure if i am making much since, help would be appreciated on the matter though. Thanks.
    Friday, January 14, 2005 6:51 AM

All replies

  • User-158764254 posted
    .NET supports the use of Resource dlls that contain the localized text. One DLL per langauge. You'd use a ResourceManager object to access the translated strings and assign them to your controls. I wasn't satisfied with the resource dll approach as we support 6 languages and keeping the resource DLLs up to date and in sync with each other was a royal pain. I'm a developer not a data entry clerk. So.... We put our translation into a sql table then contains columns such as Key, EN, ES, IT, DE, ZH, FR At application startup, each language gets loaded into a HashTable. when the pages are rendered, we inspect the Browsers Languages collection and pull the translation from the appropriate HashTable. Very fast.... The upside for the developers is that we can load our translations table from Excel spreadsheets that are populated by those responsible for performing the translations. Also, since all translations are in the same table, we can clearly see when a translations is missing for a particular language.
    Saturday, January 15, 2005 9:35 AM
  • User1864004540 posted
    Thank you for your reply. It seems fairly complicated, I was hoping for an easier solution. Thank you.
    Saturday, January 15, 2005 10:01 AM
  • User2101304523 posted
    Its there anyu samples that we can use?
    Wednesday, February 23, 2005 11:44 AM