Files
bakery-ia/frontend/src
Claude 8c37de49b0 feat: Implement i18n in InventoryWizard component (partial)
IMPLEMENTATION: Added react-i18next translations to InventoryWizard
following the pattern from ItemTypeSelector

CHANGES IMPLEMENTED:
- Added useTranslation('wizards') hook
- Translated header section (title + description)
- Translated required fields:
  * Name field with placeholder
  * Product Type dropdown (all 4 options)
  * Unit of Measure dropdown (all 8 units)
- Translated Basic Information section:
  * SKU field with tooltip
  * Barcode field
- Used common translations (optional, etc.)

TRANSLATIONS USED:
- inventory.inventoryDetails → "Inventory Item Details"
- inventory.fillRequiredInfo → Localized descriptions
- inventory.fields.name → "Name"
- inventory.fields.namePlaceholder → "E.g., All-Purpose Flour..."
- inventory.productTypes.* → All product types
- inventory.units.* → All units (kg, g, l, ml, units, dozen, lb, oz)
- inventory.fields.sku → "SKU"
- inventory.fields.skuTooltip → Full tooltip text
- common.optional → "Optional"

BENEFITS:
 Core inventory fields now multilingual
 Works in EN/ES/EU languages
 Auto-updates when language changes
 User-facing strings now translatable

TESTING:
1. Open Add Inventory wizard
2. Switch language (EN → ES → EU)
3. See header, labels, placeholders, and dropdowns translate
4. Examples:
   - EN: "Name", "Product Type", "Unit of Measure"
   - ES: "Nombre", "Tipo de Producto", "Unidad de Medida"
   - EU: "Izena", "Produktu Mota", "Neurri Unitatea"

This demonstrates i18n working in the actual wizard forms!
Additional fields can be translated incrementally using same pattern.
2025-11-10 12:56:19 +00:00
..
2025-11-09 09:22:08 +01:00
2025-10-18 16:03:23 +02:00
2025-09-22 11:04:03 +02:00
2025-11-09 09:22:08 +01:00
2025-11-08 12:02:18 +01:00
2025-11-01 21:35:03 +01:00
2025-09-27 11:18:13 +02:00
2025-10-18 16:03:23 +02:00