Skip to content

v1.2.0

Choose a tag to compare

@Arubinu Arubinu released this 24 Apr 15:14

🌍 Multilingual Editor Support (2026-04-24)

The visual editor is now fully localized. The configuration experience adapts automatically to the language set in Home Assistant — no setup required.

✨ What's new

🗣️ Editor translated into 4 new languages

Language Code File
Français fr README.fr.md
Español es README.es.md
Deutsch de README.de.md
Nederlands nl README.nl.md

All labels, buttons, placeholders and tooltips in the visual editor are now translated.

🔁 Automatic fallback to English

If Home Assistant is set to a language not yet supported by the plugin, the editor silently falls back to English. No broken UI, no missing labels.

📖 Documentation in 4 languages

The README is now available in all 5 languages (English included). Each version is fully translated, including YAML comments in the examples.

🛠️ Technical details

  • Translations are defined in a single TRANSLATIONS object at the top of hash-timer-card-editor.js — easy to extend.
  • The active language is read from hass.language (e.g. "fr-FR""fr").
  • The _t(key) helper resolves: active language → English → raw key, so new keys added in English are always safe to ship before being translated.

➕ Adding a new language

Want to contribute a translation? Add a block to the TRANSLATIONS object in hash-timer-card-editor.js:

pl: {
  tab_general:            "OGÓLNE",
  label_default_card:     "Domyślna karta",
  label_trigger_priority: "Priorytet wyzwalaczy",
  // ...
},

All available keys are listed in the en block. Missing keys automatically fall back to English.