-
Story
-
Resolution: Done
-
Undefined
-
None
-
2
-
False
-
-
False
-
-
-
RHDH F&UI plugins 3280, RHDH F&UI plugins 3281
Story
As a user of RHDH,
I want the Global Header labels (e.g., menu items, profile links, application launcher items) coming from configuration to be translatable,
so that I can view them in my preferred language and have a consistent localized experience across the platform.
Background
Currently, strings such as title: Self-service, title: Developer Hub, and title: Settings are hardcoded in dynamic-plugins.default.yaml.
This prevents them from being properly localized. By introducing translation support (titleKey + fallback mechanism), we ensure these values can be managed through i18n without breaking existing configurations.
Below configuration have labels
- mountPoint: global.header/component importName: HeaderIconButton config: priority: 90 props: title: Self-service
- mountPoint: global.header/application-launcher importName: MenuItemLink config: section: Documentation priority: 150 props: title: Developer Hub
- mountPoint: global.header/application-launcher importName: MenuItemLink config: section: Developer Tools priority: 100 props: title: RHDH Local
- mountPoint: global.header/profile importName: MenuItemLink config: priority: 100 props: title: Settings
- mountPoint: global.header/profile importName: MenuItemLink config: priority: 90 props: title: My profile
Acceptance Criteria
- Global Header supports both title (string) and titleKey (translation reference).
- When titleKey is defined → translated string is displayed.
- When titleKey is missing → fallback to title value.