A lightweight, fast and flexible way to handle localized strings.
This approach involves this way of accessing the individual translation.
The main problems with this approach are that:
- There is no effective compile-time support to catch errors if the key is wrong;
- There is no way of knowing whether the key being accessed is set for all languages;
- There is no warning if you try to access an unsupported locale;
- The refactoring of translation keys can easily lead to problems that cannot be intercepted at compile-time.
See the contributing guide to learn how to contribute to the repository and the development workflow.