Skip to content

Fix config flow translations to match the actual steps - #10

Closed
jgsaez9 wants to merge 1 commit into
EuleMitKeule:masterfrom
jgsaez9:fix/config-flow-translations
Closed

Fix config flow translations to match the actual steps#10
jgsaez9 wants to merge 1 commit into
EuleMitKeule:masterfrom
jgsaez9:fix/config-flow-translations

Conversation

@jgsaez9

@jgsaez9 jgsaez9 commented Jul 5, 2026

Copy link
Copy Markdown

Problem

The translation files are out of sync with the current config/options flow, so several steps show raw keys in the UI instead of readable text. Most visibly, the menu step lists its options as add_stt / add_conversation, and the main, add_stt, add_conversation and main_options steps have no titles/descriptions.

The flow defines these step ids:

  • config: main, menu (options: add_stt, add_conversation), add_stt, add_conversation
  • options: main_options, stt_options, conversation_options

but translations/en.json / de.json still referenced the old user / stt / conversation steps.

Fix

  • Rewrite translations/en.json and translations/de.json to match the real step ids.
  • Add the missing menu.menu_options labels (so the picker shows readable names).
  • Add abort.already_configured.
  • Add strings.json as the translation source.

No behaviour change - UI strings only.

The translation files were out of sync with the config/options flow, so
several steps showed raw keys in the UI (e.g. the `menu` options appeared as
`add_stt` / `add_conversation`, and the `main` / `add_stt` / `add_conversation`
/ `main_options` steps had no titles).

Update en.json and de.json (and add strings.json as the source) to match the
real step ids: config -> main, menu, add_stt, add_conversation; options ->
main_options, stt_options, conversation_options. Add the missing `menu`
menu_options labels and the `abort.already_configured` reason.

No behaviour change; UI strings only.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jgsaez9

jgsaez9 commented Jul 5, 2026

Copy link
Copy Markdown
Author

Superseded by #12, which includes these translation fixes (corrected to also pass hassfest by removing an invalid selector block) together with the validation CI. Closing in favour of #12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant