Francisco,
Doing this all at build time could avoid all runtime performance issues. You'd just have your build process create each localized version. The down side is a recompilation for text changes. You'd have to weigh the cost vs runtime performance gains to see what is the most feasible solution.
I wouldn't think that the text translations would change all that often, so I'd be most likely to build localized versions to keep the enduser performance as high as possible.
>Yes. Performance might be a reason to abandon this design.
>But the class won't implicitly define the context.
>David's idea of creating the context key on design time using a builder might be the better solution.
>I'll study it.