feat(admin-*,dashboard): i18n labels for menu item extensions (#13843)

* i18n menu item labels

* changeset

* changeset
This commit is contained in:
Leonardo Benini authored and GitHub committed 2025-11-06 07:42:32 -05:00
1 parent 3095b63784
commit 3852efbcff
8 files changed
+104 -9

No files matched your search

@@ -30,6 +30,17 @@ export interface RouteConfig {
* The nested route to display under existing route in the sidebar.
*/
nested?: NestedRoutePosition
/**
* An optional i18n namespace for translating the label. When provided, the label will be treated as a translation key.
* @example
* ```ts
* label: "menuItems.customFeature"
* translationNs: "my-plugin"
* // Will translate using: t("menuItems.customFeature", { ns: "my-plugin" })
* ```
*/
translationNs?: string
}
export type CustomFormField<