0
benellis created
Is there any reason that you didn't make use of T4 templates to generate classes and interfaces for the localization? It would mean users could use auto-complete, intelli-sense and get compile-time errors when using string localization, instead of run-time errors when it can't find a matching string?
Also, could be used to warn / error at compile-time if there are missing translations.
It can also be used in a similar way for app settings, connection strings and other configuration.
1 Answer(s)
-
0
Hi,
Good idea. But I had no time until now. Maybe in the future. Currently, I use string constants for setting and permission names.
If you want to use compile time check and intellisense, you can use resource-based localization instead of XMLs.