Add traslations
This commit is contained in:
@@ -23,6 +23,8 @@ import aboutEs from './es/about.json';
|
||||
import demoEs from './es/demo.json';
|
||||
import blogEs from './es/blog.json';
|
||||
import alertsEs from './es/alerts.json';
|
||||
import onboardingEs from './es/onboarding.json';
|
||||
import setupWizardEs from './es/setup_wizard.json';
|
||||
|
||||
// English translations
|
||||
import commonEn from './en/common.json';
|
||||
@@ -49,6 +51,8 @@ import aboutEn from './en/about.json';
|
||||
import demoEn from './en/demo.json';
|
||||
import blogEn from './en/blog.json';
|
||||
import alertsEn from './en/alerts.json';
|
||||
import onboardingEn from './en/onboarding.json';
|
||||
import setupWizardEn from './en/setup_wizard.json';
|
||||
|
||||
// Basque translations
|
||||
import commonEu from './eu/common.json';
|
||||
@@ -75,6 +79,8 @@ import aboutEu from './eu/about.json';
|
||||
import demoEu from './eu/demo.json';
|
||||
import blogEu from './eu/blog.json';
|
||||
import alertsEu from './eu/alerts.json';
|
||||
import onboardingEu from './eu/onboarding.json';
|
||||
import setupWizardEu from './eu/setup_wizard.json';
|
||||
|
||||
// Translation resources by language
|
||||
export const resources = {
|
||||
@@ -103,6 +109,8 @@ export const resources = {
|
||||
demo: demoEs,
|
||||
blog: blogEs,
|
||||
alerts: alertsEs,
|
||||
onboarding: onboardingEs,
|
||||
setup_wizard: setupWizardEs,
|
||||
},
|
||||
en: {
|
||||
common: commonEn,
|
||||
@@ -129,6 +137,8 @@ export const resources = {
|
||||
demo: demoEn,
|
||||
blog: blogEn,
|
||||
alerts: alertsEn,
|
||||
onboarding: onboardingEn,
|
||||
setup_wizard: setupWizardEn,
|
||||
},
|
||||
eu: {
|
||||
common: commonEu,
|
||||
@@ -155,6 +165,8 @@ export const resources = {
|
||||
demo: demoEu,
|
||||
blog: blogEu,
|
||||
alerts: alertsEu,
|
||||
onboarding: onboardingEu,
|
||||
setup_wizard: setupWizardEu,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -191,7 +203,7 @@ export const languageConfig = {
|
||||
};
|
||||
|
||||
// Namespaces available in translations
|
||||
export const namespaces = ['common', 'auth', 'inventory', 'foodSafety', 'suppliers', 'orders', 'recipes', 'errors', 'dashboard', 'production', 'equipment', 'landing', 'settings', 'ajustes', 'reasoning', 'wizards', 'subscription', 'purchase_orders', 'help', 'features', 'about', 'demo', 'blog', 'alerts'] as const;
|
||||
export const namespaces = ['common', 'auth', 'inventory', 'foodSafety', 'suppliers', 'orders', 'recipes', 'errors', 'dashboard', 'production', 'equipment', 'landing', 'settings', 'ajustes', 'reasoning', 'wizards', 'subscription', 'purchase_orders', 'help', 'features', 'about', 'demo', 'blog', 'alerts', 'onboarding', 'setup_wizard'] as const;
|
||||
export type Namespace = typeof namespaces[number];
|
||||
|
||||
// Helper function to get language display name
|
||||
|
||||
Reference in New Issue
Block a user