[MGNLUI-2419] i18n: Create fallbacks for actionbar sections & remove redundant STK app keys Created: 18/Nov/13  Updated: 09/Mar/21  Resolved: 09/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.2
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

Currently there is no "fallback" for the so that translations cannot be shared across apps. There should be a way to do this, so that for example new Content apps dont always need to retranslate common section titles.

This should be done here:
/magnolia-ui-actionbar/src/main/java/info/magnolia/ui/actionbar/definition/ActionbarSectionDefinitionKeyGenerator.java

For example:
stkChannelsApp.browser.actionbar.sections.properties.label=Property
stkChannelsApp.browser.actionbar.sections.nodes.label=Content Node
stkChannelsApp.browser.actionbar.sections.folders.label=Folder
stkChannelsApp.browser.actionbar.sections.multiple.label=Multiple items
stkChannelsApp.browser.actionbar.sections.root.label=Configuration
The first four of these could be generic.

The 5 STK apps defined in STK should then have their keys cleaned up in English, German and Chinese.


Generated at Mon Feb 12 08:56:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.