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.
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.