dimanche 26 avril 2015

Multilingual website in asp .net Web Forms without using Globalization

I'm trying to build a site in Visual Studio for a project, using ASP .NET Web Forms along with C#.

The requirement is that the website should be multilingual, however without using the built in Globalization/Resources feature, as the language should be made choosable by the user and not rigidly set based on the OS (for variety of reasons).

Now, I've seen several tutorials on how to do it with help of Javascript/jQuery and localized strings being stored in XML file, however there is another requirement that these tutorials do not follow. That each language has it's own XML localization file, and that the site remembers the language throughout the site (I imagine with help of cookies).

So the question I'm asking, is what I prescribed possible (and there is some 101 to go along) or some better solution using different technologies would be preferable ?

Aucun commentaire:

Enregistrer un commentaire