Home charts
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/apps/super-admin/src/utils/businessModules.ts b/apps/super-admin/src/utils/businessModules.ts
index 0012307..974e8af 100644
--- a/apps/super-admin/src/utils/businessModules.ts
+++ b/apps/super-admin/src/utils/businessModules.ts
@@ -9,6 +9,7 @@ export const BUSINESS_DASHBOARD_MODULE_IDS = [
'instructions',
'workshops',
'finance',
+ 'multilanguage_data',
] as const
/** Optional customer-dashboard modules. Always-on: home, profile, addresses, orders, favorites. */
@@ -38,6 +39,7 @@ export const BUSINESS_DASHBOARD_MODULE_LABELS: Record<
instructions: 'Instructions',
workshops: 'Workshops',
finance: 'Finance',
+ multilanguage_data: 'MultiLanguage Data',
}
export const CUSTOMER_MODULE_LABELS: Record
= {
@@ -79,7 +81,9 @@ export const HOME_CHART_LABELS: Record = {
* enabled except opt-in modules. Customer modules stay opt-in.
*/
export const DEFAULT_ENABLED_BUSINESS_MODULES: BusinessModuleId[] =
- BUSINESS_DASHBOARD_MODULE_IDS.filter((id) => id !== 'workshops')
+ BUSINESS_DASHBOARD_MODULE_IDS.filter(
+ (id) => id !== 'workshops' && id !== 'multilanguage_data',
+ )
export const DEFAULT_HOME_CHARTS: [HomeChartId, HomeChartId] = [
'orders_30d',
diff --git a/docs/PROJECT_CONTEXT.md b/docs/PROJECT_CONTEXT.md
index e1f81ef..804d37a 100644
--- a/docs/PROJECT_CONTEXT.md
+++ b/docs/PROJECT_CONTEXT.md
@@ -267,6 +267,7 @@ Products accept optional `brandId` on create/update.
- `GET/POST/PATCH/DELETE /businesses/:businessId/products`
- `POST /businesses/:businessId/products/ai-create` — AI-generated product draft
- `GET /businesses/:businessId/products/:productId`
+- Translations (EN/AR, stored in `entity_translations`): `GET .../products/:id/translations`, `POST .../translations/:locale/ai`, `PUT .../translations/:locale`. Same three routes on categories. Dashboard category list includes `translationCount`. Bulk: `POST .../categories/translations/ai-all` and `POST .../products/translations/ai-all` (missing EN/AR only; skips existing). Business dashboard shows translation controls only when the `multilanguage_data` module is enabled for that business.
### Contact submissions
- `GET /businesses/:businessId/contact-submissions` — paginated list