{
  "wizard": {
    "title": "Initial Setup",
    "subtitle": "We'll guide you step by step to configure your bakery",
    "steps": {
      "bakery_type": {
        "title": "Bakery Type",
        "description": "Select your business type"
      },
      "setup": {
        "title": "Register Bakery",
        "title_enterprise": "Register Central Bakery",
        "description": "Configure your bakery's basic information",
        "description_enterprise": "Central bakery information"
      },
      "child_tenants": {
        "title": "Configure Branches",
        "description": "Register the branches of your enterprise network"
      },
      "poi_detection": {
        "title": "Location Analysis",
        "description": "Detect nearby points of interest"
      },
      "smart_inventory_setup": {
        "title": "Configure Inventory",
        "description": "Upload sales data and set up your initial inventory"
      },
      "upload_sales": {
        "title": "Upload Sales Data",
        "description": "Load file with sales history"
      },
      "inventory_review": {
        "title": "Review Inventory",
        "description": "Confirm detected products"
      },
      "stock": {
        "title": "Stock Levels",
        "description": "Initial quantities"
      },
      "suppliers": {
        "title": "Suppliers",
        "description": "Configure your suppliers"
      },
      "recipes": {
        "title": "Recipes",
        "description": "Production recipes"
      },
      "quality": {
        "title": "Quality",
        "description": "Quality standards"
      },
      "team": {
        "title": "Team",
        "description": "Team members"
      },
      "ml_training": {
        "title": "AI Training",
        "description": "Train your personalized artificial intelligence model"
      },
      "completion": {
        "title": "Setup Complete",
        "description": "Welcome to your intelligent management system!"
      }
    },
    "navigation": {
      "previous": "Previous",
      "next": "Next",
      "complete": "Complete",
      "skip": "Skip",
      "finish": "Finish"
    },
    "progress": {
      "step_of": "Step {current} of {total}",
      "completed": "Completed",
      "in_progress": "In progress",
      "pending": "Pending"
    }
  },
  "steps": {
    "tenant_registration": {
      "title": "Your Bakery Information",
      "title_enterprise": "Your Central Bakery Information",
      "subtitle": "Tell us about your business",
      "header": {
        "title": "Register Your Bakery",
        "title_enterprise": "Register Your Central Bakery",
        "description": "Complete your bakery's basic information to get started.",
        "description_enterprise": "Enter your main production facility details. You can add branches afterwards."
      },
      "fields": {
        "business_name": "Bakery Name",
        "business_name_enterprise": "Central Bakery Name",
        "business_type": "Business type",
        "address": "Address",
        "phone": "Phone",
        "postal_code": "Postal Code",
        "city": "City (Optional)",
        "email": "Contact email",
        "website": "Website (optional)",
        "description": "Business description"
      },
      "placeholders": {
        "business_name": "Enter your bakery name",
        "business_name_enterprise": "Enter your central bakery name",
        "address": "Your bakery address...",
        "address_enterprise": "Central bakery address...",
        "phone": "+34 123 456 789",
        "postal_code": "28001",
        "city": "Madrid",
        "email": "contact@bakery.com",
        "website": "https://mybakery.com",
        "description": "Describe your bakery..."
      },
      "validation": {
        "name_required": "Bakery name is required",
        "name_length": "Name must be between 2 and 200 characters",
        "address_required": "Address is required",
        "address_length": "Address must be between 10 and 500 characters",
        "postal_code_required": "Postal code is required",
        "postal_code_format": "Postal code must be exactly 5 digits",
        "phone_required": "Phone number is required",
        "phone_length": "Phone must be between 9 and 20 characters",
        "phone_format": "Please enter a valid Spanish phone number"
      },
      "buttons": {
        "create": "Create Bakery and Continue →",
        "create_enterprise": "Create Central Bakery and Continue →",
        "update": "Update Bakery and Continue →",
        "update_enterprise": "Update Central Bakery and Continue →"
      },
      "loading": {
        "creating": "Creating...",
        "creating_enterprise": "Creating bakery...",
        "updating": "Updating bakery..."
      },
      "errors": {
        "register": "Error registering bakery. Please try again.",
        "register_title": "Registration Error"
      }
    },
    "inventory_setup": {
      "title": "Configure Inventory",
      "subtitle": "Upload your historical sales data",
      "upload": {
        "title": "Upload Sales Data",
        "description": "Upload a CSV file with your historical sales data to train the AI",
        "drag_drop": "Drag and drop your CSV file here",
        "or": "or",
        "browse": "select a file",
        "supported_formats": "Supported formats: CSV",
        "max_size": "Maximum size: 10MB"
      },
      "file_format_guide": {
        "title": "File Format Guide",
        "supported_formats": {
          "title": "Supported Formats",
          "csv": "CSV (comma-separated values)",
          "json": "JSON (JavaScript Object Notation)",
          "excel": "Excel (XLSX, XLS)",
          "max_size": "Maximum size: 10MB"
        },
        "required_columns": {
          "title": "Required Columns",
          "date": "Date",
          "date_examples": "date, fecha, data",
          "product": "Product Name",
          "product_examples": "product, producto, product_name, name",
          "quantity": "Quantity Sold",
          "quantity_examples": "quantity, cantidad, quantity_sold, units"
        },
        "optional_columns": {
          "title": "Optional Columns",
          "revenue": "Revenue (revenue, ingresos, sales)",
          "unit_price": "Unit Price (unit_price, precio, price)",
          "category": "Category (category, categoria)",
          "sku": "Product SKU",
          "location": "Location/Store",
          "notes": "Additional notes"
        },
        "date_formats": {
          "title": "Supported Date Formats",
          "formats": "YYYY-MM-DD, DD/MM/YYYY, MM/DD/YYYY, DD-MM-YYYY, and more",
          "with_time": "Time formats are also supported (e.g., YYYY-MM-DD HH:MM:SS)"
        },
        "features": {
          "title": "Automatic Features",
          "multilingual": "Multi-language column detection (Spanish, English, Basque)",
          "validation": "Automatic validation with detailed error reporting",
          "ai_classification": "AI-powered product classification",
          "inventory_suggestions": "Smart inventory suggestions"
        },
        "download_template": "Download Template",
        "show_example": "Show Data Example",
        "hide_example": "Hide Example",
        "toggle_guide": "Show Full Guide",
        "collapse_guide": "Hide Guide"
      },
      "sample": {
        "download": "Download CSV template",
        "example": "View data example"
      },
      "processing": {
        "uploading": "Uploading file...",
        "processing": "Processing data...",
        "success": "Data processed successfully",
        "error": "Error processing data"
      }
    },
    "ml_training": {
      "title": "AI Training",
      "subtitle": "Creating your personalized model",
      "intro_text": "Perfect! We will now automatically train your artificial intelligence model using the sales and inventory data you've provided. This process may take several minutes.",
      "status": {
        "preparing": "Preparing data...",
        "training": "Training model...",
        "validating": "Validating results...",
        "completed": "Training completed"
      },
      "progress": {
        "data_preparation": "Data preparation",
        "model_training": "Model training",
        "validation": "Validation",
        "deployment": "Deployment",
        "processing": "Processing..."
      },
      "estimated_time": "Estimated time: {minutes} minutes",
      "estimated_time_remaining": "Estimated time remaining: {time}",
      "description": "We're creating a personalized AI model for your bakery based on your historical data.",
      "training_info": {
        "title": "What happens during training?",
        "step1": "Analysis of historical sales patterns",
        "step2": "Creation of demand prediction models",
        "step3": "Optimization of inventory algorithms",
        "step4": "Validation and accuracy adjustment"
      },
      "messages": {
        "training": "Training model...",
        "completed": "Training completed successfully",
        "completed_http": "Training completed successfully (detected via HTTP check)",
        "starting": "Starting model training...",
        "queued": "Training job queued...",
        "preparing": "Preparing training data...",
        "live": "Live",
        "reconnecting": "Reconnecting...",
        "estimated_completion": "Will finish:"
      },
      "skip_to_dashboard": {
        "title": "Taking too long?",
        "description": "Training continues in the background. You can go to the dashboard now and explore your system while the model finishes training.",
        "button": "Go to Dashboard",
        "info": "Training is taking longer than expected. Don't worry, you can explore your dashboard while the model finishes training in the background.",
        "training_continues": "Training continues in the background"
      }
    },
    "completion": {
      "title": "Setup Complete!",
      "subtitle": "Your bakery is ready to use AI",
      "success_message": "Congratulations, you have successfully completed the initial setup.",
      "congratulations": "Congratulations! Your System Is Ready",
      "all_configured": "You have successfully configured {name} with our intelligent management system. Everything is ready to start optimizing your bakery.",
      "what_configured": "What You Have Configured",
      "bakery_info": "Bakery Information",
      "inventory_ai": "AI Inventory",
      "suppliers_added": "Suppliers Added",
      "recipes_configured": "Recipes Configured",
      "quality_set": "Quality Standards",
      "team_invited": "Team Members",
      "quick": {
        "analytics": "Analytics",
        "inventory": "Inventory",
        "procurement": "Purchases",
        "production": "Production"
      },
      "tips_title": "Tips to Maximize Your Success",
      "tip1": "Review the dashboard daily for insights",
      "tip2": "Update inventory regularly",
      "tip3": "Use AI predictions for planning",
      "tip4": "Invite your team to collaborate",
      "go_to_dashboard": "Start Using the System",
      "need_help": "Need help? Visit our",
      "user_guide": "user guide",
      "or_contact": "or contact our",
      "support_team": "support team",
      "next_steps": {
        "title": "Next steps:",
        "dashboard": "Explore your dashboard",
        "first_prediction": "View your first prediction",
        "inventory": "Configure your inventory",
        "team": "Invite your team"
      },
      "cta": {
        "dashboard": "Go to Dashboard",
        "tour": "Start Guided Tour"
      },
      "features_unlocked": {
        "title": "Features unlocked:",
        "ai_forecasting": "AI demand forecasting",
        "inventory_management": "Inventory management",
        "production_planning": "Production planning",
        "analytics": "Analytics and reports"
      }
    }
  },
  "bakery_type": {
    "title": "What type of bakery do you have?",
    "subtitle": "This will help us personalize the experience and show you only the features you need",
    "features_label": "Features",
    "examples_label": "Examples",
    "continue_button": "Continue",
    "help_text": "💡 Don't worry, you can always change this later in settings",
    "selected_info_title": "Perfect for your bakery",
    "production": {
      "name": "Production Bakery",
      "description": "We produce from scratch using basic ingredients",
      "feature1": "Complete recipe management",
      "feature2": "Ingredient and cost control",
      "feature3": "Production planning",
      "feature4": "Raw material quality control",
      "example1": "Artisan bread",
      "example2": "Pastries",
      "example3": "Confectionery",
      "example4": "Patisserie",
      "selected_info": "We'll set up a complete recipe, ingredient, and production management system tailored to your workflow."
    },
    "retail": {
      "name": "Retail Bakery",
      "description": "We bake and sell pre-made products",
      "feature1": "Finished product control",
      "feature2": "Simple baking management",
      "feature3": "Point of sale inventory control",
      "feature4": "Sales and shrinkage tracking",
      "example1": "Pre-baked bread",
      "example2": "Frozen products to finish",
      "example3": "Ready-to-sell pastries",
      "example4": "Cakes and pastries from suppliers",
      "selected_info": "We'll set up a simple system focused on inventory control, baking, and sales without the complexity of recipes."
    },
    "mixed": {
      "name": "Mixed Bakery",
      "description": "We combine own production with finished products",
      "feature1": "Own recipes and external products",
      "feature2": "Total management flexibility",
      "feature3": "Complete cost control",
      "feature4": "Maximum adaptability",
      "example1": "Own bread + supplier pastries",
      "example2": "Own cakes + pre-baked goods",
      "example3": "Artisan + industrial products",
      "example4": "Seasonal combination",
      "selected_info": "We'll set up a flexible system that allows you to manage both own production and external products according to your needs."
    }
  },
  "errors": {
    "step_failed": "Error in this step",
    "data_invalid": "Invalid data",
    "upload_failed": "File upload error",
    "training_failed": "Training error",
    "network_error": "Connection error",
    "try_again": "Try again",
    "contact_support": "Contact support"
  },
  "validation": {
    "required": "This field is required",
    "invalid_email": "Invalid email",
    "invalid_phone": "Invalid phone",
    "invalid_url": "Invalid URL",
    "file_too_large": "File too large",
    "invalid_file_type": "Invalid file type"
  },
  "stock": {
    "title": "Initial Stock Levels",
    "subtitle": "Enter current quantities for each product. This allows the system to track inventory from today.",
    "info_title": "Why is this important?",
    "info_text": "Without initial stock levels, the system cannot alert you about low stock, plan production, or calculate costs correctly. Take a moment to enter your current quantities.",
    "progress": "Capture progress",
    "set_all_zero": "Set all to 0",
    "skip_for_now": "Skip for now (will be set to 0)",
    "ingredients": "Ingredients",
    "finished_products": "Finished Products",
    "incomplete_warning": "{count} products remaining",
    "incomplete_help": "You can continue, but we recommend entering all quantities for better inventory control.",
    "complete": "Complete Setup",
    "continue_to_next": "Continue",
    "continue_anyway": "Continue anyway",
    "no_products_title": "Initial Stock",
    "no_products_message": "You can configure stock levels later in the inventory section."
  },
  "child_tenants": {
    "title": "Branch Configuration",
    "subtitle": "As an Enterprise tier company, you have a central bakery and multiple branches. Add information for each branch that will receive products from the central bakery.",
    "info_box": {
      "title": "Enterprise Business Model",
      "description": "Your central bakery handles production, and branches receive finished products through optimized internal transfers."
    },
    "list": {
      "title": "Branches",
      "add_button": "Add Branch",
      "empty_state": {
        "title": "No branches added",
        "description": "Start by adding the branches that are part of your enterprise network",
        "button": "Add First Branch"
      }
    },
    "modal": {
      "title_add": "Add Branch",
      "title_edit": "Edit Branch",
      "fields": {
        "name": "Branch Name",
        "location_code": "Location Code",
        "location_code_help": "A short code to identify this location",
        "location_code_max": "(max 10 characters)",
        "business_type": "Business Type",
        "business_model": "Business Model",
        "phone": "Phone",
        "email": "Email",
        "timezone": "Timezone",
        "zone": "Zone / District (optional)",
        "zone_help": "Specific zone or district within the city",
        "address": "Address",
        "city": "City",
        "postal_code": "Postal Code"
      },
      "placeholders": {
        "name": "e.g. Madrid - Salamanca",
        "location_code": "e.g. MAD, BCN, VAL",
        "phone": "e.g. +34 123 456 789",
        "email": "e.g. contact@bakery.com",
        "zone": "e.g. Salamanca, Downtown, Center",
        "address": "e.g. Serrano Street, 48",
        "city": "e.g. Madrid",
        "postal_code": "e.g. 28001"
      },
      "business_types": {
        "bakery": "Bakery",
        "coffee_shop": "Coffee Shop",
        "pastry_shop": "Pastry Shop",
        "restaurant": "Restaurant"
      },
      "business_models": {
        "retail_bakery": "Retail Bakery",
        "central_baker_satellite": "Central Baker + Branches",
        "hybrid_bakery": "Hybrid Model"
      },
      "timezones": {
        "europe_madrid": "Europe/Madrid (UTC+1/UTC+2)",
        "europe_paris": "Europe/Paris (UTC+1/UTC+2)",
        "europe_london": "Europe/London (UTC+0/UTC+1)",
        "america_new_york": "America/New_York (UTC-5/UTC-4)"
      },
      "buttons": {
        "cancel": "Cancel",
        "save": "Save Changes",
        "add": "Add Branch"
      }
    },
    "card": {
      "edit": "Edit",
      "delete": "Delete"
    },
    "continue_button": "Continue with {count} {count, plural, one {Branch} other {Branches}}",
    "validation": {
      "name_required": "Name is required",
      "city_required": "City is required",
      "address_required": "Address is required",
      "postal_code_required": "Postal code is required",
      "postal_code_format": "Postal code must be exactly 5 digits",
      "location_code_required": "Location code is required",
      "location_code_max": "Code must not exceed 10 characters",
      "location_code_format": "Only uppercase letters, numbers, and hyphens/underscores are allowed",
      "phone_format": "Please enter a valid Spanish phone number",
      "email_format": "Please enter a valid email address"
    },
    "alerts": {
      "require_one": "You must add at least one branch to continue"
    }
  },
  "completion": {
    "congratulations": "Congratulations! Your System Is Ready",
    "all_configured": "You have successfully configured {name} with our intelligent management system. Everything is ready to start optimizing your bakery.",
    "what_configured": "What You Have Configured",
    "bakery_info": "Bakery Information",
    "inventory_ai": "AI Inventory",
    "suppliers_added": "Suppliers Added",
    "recipes_configured": "Recipes Configured",
    "quality_set": "Quality Standards",
    "team_invited": "Team Members",
    "quick": {
      "analytics": "Analytics",
      "inventory": "Inventory",
      "procurement": "Purchases",
      "production": "Production"
    },
    "tips_title": "Tips to Maximize Your Success",
    "tip1": "Review the dashboard daily for insights",
    "tip2": "Update inventory regularly",
    "tip3": "Use AI predictions for planning",
    "tip4": "Invite your team to collaborate",
    "go_to_dashboard": "Start Using the System",
    "need_help": "Need help? Visit our",
    "user_guide": "user guide",
    "or_contact": "or contact our",
    "support_team": "support team"
  }
}