major
nice-to-have
defect
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);
When a subkey is created from such a message key, it would be nice if it automatically inherited the set arguments.
ResKey subKey = messageKey.suffix("info"); // Or, more simply, messageKey.info()
Currently, subKey translations cannot access the arguments. However, this is useful, for example, for #23411, where an error message can be split into a title and details solely through I18N. Here, both the title key and the detail key derived from it should potentially access the same arguments.
Test
- test.com.top_logic.basic.util.TestResKey.testSuffixWithArguments()