Localization design question
-
Hi, In my application design I’m stuck on the following problem: I have an application that will both be web as well as WPF/WCF based. Both are essentially the same, only the platform is different. Both share the same database and both will be totally localized to currently 3 languages. The localization of the GUI parts of both apps will sit in resource files, localized data such as “countries” (France (English) vs Frankrijk (Dutch) will come from the database. I have a data object layer (for example holding a Country object) which is fed from the database and sent either to the web app, or via WCF to the WPF app. My question is, for known values such as gender (only two values) or media type (few vales such as image, video etc), where will I do the localization? Of course these values are saved in the database, but maybe it should be held in the resource files of the data-object layer. So that in my WPF app I can choose a gender, and not having to go to the database in order to get the localized value. What would be the best place to localize enum kind of values? Thanks, Gidon