Design Pattern Dilemma: A Localizable Object

from blog nickb.dev, | ↗ original
Question to be answered: How to handle an object that has its data in an invariant language, but also supports a subset of its strings converted into a specified language. Introduction This is not a trivial problem as localization is a crosscutting concern. In short, adding this aspect to the code base will result in either code duplication or...