This question is for someone hopefully with experience in what I’m trying to accomplish.
GOAL:
I have a webform with several drop-down-lists, in English, developed on ASP.NET.
- User 1: Select their desired options, then submits the English values to the SQL Server database.
- User 2: Then chooses a language in which to view a printable version of the form. The English values then get translated to the selected language for printing (presumably via some XML files for extensibility).
Is using XML files for translation a good approach, or is their a better solution?
- If this is a good approach, any suggestions on how to implement it?
- If this is a bad approach, what is the best way?
Assuming items are unique for each dropdown. I think you need only 3 tables.
As for the locale i would a culturecode instead of separate table. Eeach HttpRequest comes with a cultureinfo that is set to the user’s browser language. something like ‘en-US’. Using this code in your table with let you effectivly select the right language.