feat(admin-*,dashboard): add dashboard i18n extensions (#13763)

* virtual i18n module

* changeset

* fallback ns

fallback to the default "translation" ns if the key isnt found. Allows to use a single "useTranslation("customNs")" hook for both custom and medusa-provided keys

* simplify merges

* optional for backward compat

* fix HMR

* fix generated deepMerge

* test
This commit is contained in:
Leonardo Benini
2025-10-23 15:16:43 -04:00
committed by GitHub
parent 012e30801e
commit 226984cf0f
25 changed files with 314 additions and 9 deletions
+1
View File
@@ -2,3 +2,4 @@ export * from "./extensions/custom-fields"
export * from "./extensions/routes"
export * from "./extensions/widgets"
export * from "./virtual-modules"
export * from "./utils"