Major
Nice to have
Bugfix
Major
Enhancement
A resource key can be enriched with dynamic arguments that can be embedded in the message.
ResKey key = ...; ResKey messageKey = key.fill(arg1,..., argn);
If a subkey is built from such a message key, it would be nice if it would automatically take the set arguments.
ResKey subKey = messageKey.suffix("info"); // Or simpler messageKey.info()
Currently the translations of subKey cannot access the arguments. However, this is nice for #23411, for example, when an error message can be split into title and details using I18N alone. Here, potentially both the title key and the detail key derived from it should access the same arguments.
Test
- test.com.top_logic.basic.util.TestResKey.testSuffixWithArguments()