This project is read-only.

Enum Localization

Mar 20, 2009 at 7:34 AM
Hi,
Just wanted to know how do you plan to support localization with enums.
Mar 22, 2009 at 11:38 AM
Edited Mar 22, 2009 at 10:59 PM
What you mean? Having different ToStr values in the DB for different languages?

It won't be consistent with the rest ot the system to do something like that. You don't have localized ToStr for any other entity in the database.

However, we did something like that for the FilterOperation Enum using standard .Net Resource Files:

http://signum.codeplex.com/SourceControl/changeset/view/25903#510411
http://signum.codeplex.com/SourceControl/changeset/view/25903#510276
http://signum.codeplex.com/SourceControl/changeset/view/25903#510284

Hope it's usefull
Olmo