Add i18 support

This commit is contained in:
Urtzi Alfaro
2025-09-22 11:04:03 +02:00
parent ecfc6a1997
commit ee36c45d25
28 changed files with 2307 additions and 565 deletions

View File

@@ -0,0 +1,240 @@
{
"navigation": {
"dashboard": "Dashboard",
"operations": "Operations",
"inventory": "Inventory",
"production": "Production",
"recipes": "Recipes",
"orders": "Orders",
"procurement": "Procurement",
"pos": "Point of Sale",
"analytics": "Analytics",
"forecasting": "Forecasting",
"sales": "Sales",
"performance": "Performance",
"insights": "AI Insights",
"data": "Data",
"weather": "Weather",
"traffic": "Traffic",
"events": "Events",
"communications": "Communications",
"notifications": "Notifications",
"alerts": "Alerts",
"preferences": "Preferences",
"settings": "Settings",
"team": "Team",
"bakery": "Bakery",
"training": "Training",
"system": "System",
"onboarding": "Initial Setup"
},
"actions": {
"save": "Save",
"cancel": "Cancel",
"edit": "Edit",
"delete": "Delete",
"add": "Add",
"create": "Create",
"update": "Update",
"view": "View",
"search": "Search",
"filter": "Filter",
"export": "Export",
"import": "Import",
"download": "Download",
"upload": "Upload",
"print": "Print",
"refresh": "Refresh",
"reset": "Reset",
"clear": "Clear",
"submit": "Submit",
"close": "Close",
"open": "Open",
"back": "Back",
"next": "Next",
"previous": "Previous",
"finish": "Finish",
"continue": "Continue",
"confirm": "Confirm",
"expand": "Expand",
"collapse": "Collapse"
},
"status": {
"active": "Active",
"inactive": "Inactive",
"pending": "Pending",
"completed": "Completed",
"cancelled": "Cancelled",
"draft": "Draft",
"published": "Published",
"archived": "Archived",
"enabled": "Enabled",
"disabled": "Disabled",
"available": "Available",
"unavailable": "Unavailable",
"in_progress": "In Progress",
"failed": "Failed",
"success": "Success",
"warning": "Warning",
"error": "Error",
"info": "Information",
"undefined": "Not defined",
"no_rating": "No rating",
"disconnected": "Disconnected",
"no_realtime_connection": "No real-time connection"
},
"time": {
"today": "Today",
"yesterday": "Yesterday",
"tomorrow": "Tomorrow",
"this_week": "This Week",
"last_week": "Last Week",
"next_week": "Next Week",
"this_month": "This Month",
"last_month": "Last Month",
"next_month": "Next Month",
"this_year": "This Year",
"last_year": "Last Year",
"next_year": "Next Year",
"morning": "Morning",
"afternoon": "Afternoon",
"evening": "Evening",
"night": "Night",
"now": "Now",
"recently": "Recently",
"soon": "Soon",
"later": "Later"
},
"units": {
"kg": "kg",
"g": "g",
"l": "l",
"ml": "ml",
"pieces": "pieces",
"units": "units",
"portions": "portions",
"minutes": "minutes",
"hours": "hours",
"days": "days",
"weeks": "weeks",
"months": "months",
"years": "years"
},
"categories": {
"bread": "Breads",
"pastry": "Pastries",
"cake": "Cakes",
"cookie": "Cookies",
"other": "Others",
"flour": "Flours",
"dairy": "Dairy",
"eggs": "Eggs",
"fats": "Fats",
"sugar": "Sugars",
"yeast": "Yeasts",
"spices": "Spices",
"salted": "Savory"
},
"priority": {
"low": "Low",
"normal": "Normal",
"medium": "Medium",
"high": "High",
"urgent": "Urgent",
"critical": "Critical",
"undefined": "Priority not defined"
},
"difficulty": {
"easy": "Easy",
"medium": "Medium",
"hard": "Hard",
"expert": "Expert"
},
"payment_methods": {
"cash": "Cash",
"card": "Card",
"transfer": "Transfer",
"other": "Other"
},
"delivery_methods": {
"pickup": "Pickup",
"delivery": "Home Delivery"
},
"weekdays": {
"monday": "Monday",
"tuesday": "Tuesday",
"wednesday": "Wednesday",
"thursday": "Thursday",
"friday": "Friday",
"saturday": "Saturday",
"sunday": "Sunday"
},
"months": {
"january": "January",
"february": "February",
"march": "March",
"april": "April",
"may": "May",
"june": "June",
"july": "July",
"august": "August",
"september": "September",
"october": "October",
"november": "November",
"december": "December"
},
"forms": {
"required": "Required",
"optional": "Optional",
"loading": "Loading...",
"no_data": "No data available",
"no_results": "No results found",
"empty_state": "No items to display",
"select_option": "Select option",
"enter_text": "Enter text",
"choose_file": "Choose file",
"drag_drop": "Drag and drop here",
"or": "or",
"no_terms": "No terms defined",
"search_placeholder": "Search..."
},
"table": {
"no_data": "No data to display",
"loading": "Loading data...",
"error": "Error loading data",
"rows_per_page": "Rows per page",
"showing": "Showing",
"of": "of",
"entries": "entries",
"page": "Page",
"first": "First",
"last": "Last",
"sort_asc": "Sort ascending",
"sort_desc": "Sort descending"
},
"alerts": {
"confirm_delete": "Are you sure you want to delete this item?",
"confirm_action": "Are you sure you want to perform this action?",
"unsaved_changes": "You have unsaved changes. Are you sure you want to leave?",
"success_save": "Saved successfully",
"success_delete": "Deleted successfully",
"success_update": "Updated successfully",
"success_create": "Created successfully",
"operation_completed": "Operation completed successfully"
},
"accessibility": {
"close": "Close",
"menu": "Main navigation",
"open_menu": "Open menu",
"close_menu": "Close menu",
"toggle": "Toggle",
"expand": "Expand",
"collapse": "Collapse",
"loading": "Loading",
"image": "Image",
"button": "Button",
"link": "Link",
"tooltip": "Additional information",
"search": "Search in the application"
}
}

View File

@@ -0,0 +1,74 @@
{
"title": "Dashboard",
"subtitle": "Overview of your bakery operations",
"stats": {
"sales_today": "Sales Today",
"pending_orders": "Pending Orders",
"stock_alerts": "Stock Alerts",
"production_efficiency": "Production Efficiency",
"revenue_growth": "Revenue Growth",
"customer_satisfaction": "Customer Satisfaction",
"inventory_turnover": "Inventory Turnover",
"daily_profit": "Daily Profit",
"products_sold": "Products Sold"
},
"trends": {
"vs_yesterday": "% vs yesterday",
"vs_last_week": "% vs last week",
"vs_last_month": "% vs last month",
"growth": "growth",
"decrease": "decrease",
"stable": "stable"
},
"sections": {
"critical_stats": "Critical Statistics",
"real_time_alerts": "Real-time Alerts",
"procurement_today": "Procurement Today",
"production_today": "Production Today",
"recent_activity": "Recent Activity",
"quick_actions": "Quick Actions"
},
"quick_actions": {
"add_new_bakery": "Add New Bakery",
"create_order": "Create Order",
"start_production": "Start Production",
"check_inventory": "Check Inventory",
"view_reports": "View Reports",
"manage_staff": "Manage Staff"
},
"alerts": {
"low_stock": "Low Stock",
"production_delay": "Production Delay",
"quality_issue": "Quality Issue",
"equipment_maintenance": "Equipment Maintenance",
"order_pending": "Order Pending",
"delivery_due": "Delivery Due"
},
"messages": {
"welcome": "Welcome back",
"good_morning": "Good morning",
"good_afternoon": "Good afternoon",
"good_evening": "Good evening",
"no_data": "No data available",
"loading": "Loading dashboard data...",
"error_loading": "Error loading data",
"last_updated": "Last updated",
"auto_refresh": "Auto refresh in",
"more_than_yesterday": "more than yesterday",
"require_attention": "Require attention",
"more_units": "more units",
"action_required": "Action required",
"manage_organizations": "Manage your organizations",
"setup_new_business": "Set up a new business from scratch",
"active_organizations": "Active Organizations"
},
"time_periods": {
"today": "Today",
"this_week": "This Week",
"this_month": "This Month",
"this_year": "This Year",
"last_7_days": "Last 7 days",
"last_30_days": "Last 30 days",
"last_90_days": "Last 90 days"
}
}

View File

@@ -0,0 +1,80 @@
{
"title": "Production",
"subtitle": "Manage your bakery production",
"production_status": {
"PENDING": "Pending",
"IN_PROGRESS": "In Progress",
"COMPLETED": "Completed",
"CANCELLED": "Cancelled",
"ON_HOLD": "On Hold",
"QUALITY_CHECK": "Quality Check",
"FAILED": "Failed"
},
"production_priority": {
"LOW": "Low",
"MEDIUM": "Medium",
"HIGH": "High",
"URGENT": "Urgent"
},
"batch_status": {
"PLANNED": "Planned",
"IN_PROGRESS": "In Progress",
"COMPLETED": "Completed",
"CANCELLED": "Cancelled",
"ON_HOLD": "On Hold"
},
"quality_check_status": {
"PENDING": "Pending",
"IN_PROGRESS": "In Progress",
"PASSED": "Passed",
"FAILED": "Failed",
"REQUIRES_ATTENTION": "Requires Attention"
},
"fields": {
"batch_number": "Batch Number",
"production_date": "Production Date",
"planned_quantity": "Planned Quantity",
"actual_quantity": "Actual Quantity",
"yield_percentage": "Yield Percentage",
"priority": "Priority",
"assigned_staff": "Assigned Staff",
"production_notes": "Production Notes",
"quality_score": "Quality Score",
"quality_notes": "Quality Notes",
"defect_rate": "Defect Rate",
"rework_required": "Rework Required",
"waste_quantity": "Waste Quantity",
"waste_reason": "Waste Reason",
"efficiency": "Efficiency",
"material_cost": "Material Cost",
"labor_cost": "Labor Cost",
"overhead_cost": "Overhead Cost",
"total_cost": "Total Cost",
"cost_per_unit": "Cost per Unit"
},
"actions": {
"start_production": "Start Production",
"complete_batch": "Complete Batch",
"pause_production": "Pause Production",
"cancel_batch": "Cancel Batch",
"quality_check": "Quality Check",
"create_batch": "Create Batch",
"view_details": "View Details",
"edit_batch": "Edit Batch",
"duplicate_batch": "Duplicate Batch"
},
"labels": {
"current_production": "Current Production",
"production_queue": "Production Queue",
"completed_today": "Completed Today",
"efficiency_rate": "Efficiency Rate",
"quality_score": "Quality Score",
"active_batches": "Active Batches",
"pending_quality_checks": "Pending Quality Checks"
},
"descriptions": {
"production_efficiency": "Percentage of efficiency in current production",
"quality_average": "Average quality score in recent batches",
"waste_reduction": "Waste reduction compared to previous month"
}
}