Major
Nice to have
Bugfix
Major
Enhancement
The translation for a ResKey is currently either stored in the static resource properties of the application, or the translation is a non-internationalized dynamic text(ResKey.text(...)).
Improvement
It might also be useful to have a translatable object generated by a user. Such a "literal" resource key itself contains the translations in the languages of the system. When it is translated, it selects from its internal translations the one that matches the query.
Application
ResKey literal = ResKey.builder() .add(Locale.ENGLISH, "Hello") .add(Locale.GERMAN, "Hallo") .build();
Test
- test.com.top_logic.basic.util.TestResKey.testLiteralKey()