feat(): Add more translatable core entity (#14311)

* feat(): Add product type and collection translation support

* Create sharp-poets-give.md

* feat(): Add product type and collection translation support

* feat(): Add product type and collection translation support

* options

* options

* shipping options/type

* return reason

* fix

* leave out shipping and return reason

* leave out shipping and return reason

* leave out shipping and return reason
This commit is contained in:
Adrien de Peretti
2025-12-15 17:13:32 +01:00
committed by GitHub
parent ba6ed8d9dd
commit e94e1a4676
18 changed files with 143 additions and 70 deletions
@@ -1,12 +1,8 @@
import { ModuleJoinerConfig } from "@medusajs/framework/types"
import {
FeatureFlag,
MEDUSA_SKIP_FILE,
Modules,
} from "@medusajs/framework/utils"
import { MEDUSA_SKIP_FILE, Modules } from "@medusajs/framework/utils"
export const ProductTranslation: ModuleJoinerConfig = {
[MEDUSA_SKIP_FILE]: !FeatureFlag.isFeatureEnabled("translation"),
[MEDUSA_SKIP_FILE]: process.env.MEDUSA_FF_TRANSLATION !== "true",
isLink: true,
isReadOnlyLink: true,
extends: [