Skip to content

Complete Translation Supporto and Test Preview Mode

Choose a tag to compare

@P1pp89 P1pp89 released this 16 Jan 16:15
7bacd05

This release brings complete translation support across all features, making AI Automation Builder truly international!


What's New

Complete UI Translation

  • All interface labels now translate based on your Home Assistant language
  • Preview, Test, and Dry Run sections fully localized
  • No more mixed language interfaces!

AI-Generated Content in Your Language

  • YAML alias and description now generated in your interface language
  • AI prompts optimized for each of the 7 supported languages
  • Natural language output that matches your input

Improved YAML Generation

  • Fixed duplicate actions: issue - AI now generates clean, valid YAML
  • Enhanced prompts with explicit examples of correct/incorrect formats
  • Always includes mode: single at the end
  • Better structured output for complex automations

Supported Languages

All features fully translated in:

  • 🇮🇹 Italian (Italiano)
  • 🇬🇧 English
  • 🇪🇸 Spanish (Español)
  • 🇫🇷 French (Français)
  • 🇩🇪 German (Deutsch)
  • 🇵🇹 Portuguese (Português)
  • 🇳🇱 Dutch (Nederlands)

Bug Fixes

Fixed

  • UI labels stuck in Italian regardless of language setting
  • Preview/Test/Dry Run messages not translating
  • AI generating duplicate actions: sections in YAML
  • Missing mode: single in some generated automations
  • Inconsistent language between UI and generated content

Technical Details

Frontend Changes

  • Added 18+ new translation keys for all UI labels
  • Updated rendering to use dynamic translations (this.t.labelName)
  • Language detection now passed to all backend functions
  • Improved consistency across all interface sections

Backend Changes

  • Complete translation dictionary for 7 languages (150+ strings)
  • AI prompts customized per language with explicit formatting rules
  • Enhanced prompt engineering with correct/incorrect examples
  • All analysis functions now language-aware

Translation Coverage

Interface Labels (Warnings, Triggers, Actions, etc.)
Preview Mode Messages
Test Execution Results
Dry Run Simulation Output
Error Messages
Entity Suggestions
YAML Generation (alias, description)

Upgrade Instructions

Via HACS (Recommended)

  1. Open HACS → Integrations
  2. Find "AI Automation Builder"
  3. Click "Update"
  4. Restart Home Assistant

Manual Update

  1. Download the latest release
  2. Replace files in custom_components/ai_automation_builder/
  3. Restart Home Assistant

No configuration changes required! Your existing setup will work immediately with the new translations.


Usage Examples

Before v2.0.0

UI Language: English
Generated YAML:
  alias: "Accendi luci alle 20:00"  - Mixed language
Preview: "Avvisi", "Trigger", "Azioni"  - Always Italian

After v2.0.0

UI Language: English
Generated YAML:
  alias: "Turn on lights at 8:00 PM"  - Consistent
Preview: "Warnings", "Triggers", "Actions"  - Translated

What This Means for You

If you use Italian 🇮🇹

Everything works perfectly as before, but now with cleaner YAML generation!

If you use English 🇬🇧

Finally! Complete English interface with English-generated automations!

If you use other languages

Your language is now fully supported across all features!


Statistics

  • 18 new translation keys added
  • 150+ translated strings across 7 languages
  • 100% feature coverage for all supported languages
  • 0 breaking changes - fully backward compatible

Thank You

Special thanks to the community for reporting the translation issues and helping test the fixes!


What's Next

  • Visual automation builder (drag & drop)
  • Automation templates library
  • More language support (Chinese, Japanese, Korean)
  • Voice input support
  • Community sharing platform

Documentation


Found a Bug?

Please report it on GitHub Issues


⭐ Support the Project

If you find this update useful, please: