Skip to content

Translate dialogs, tooltips and remaining admin texts - #3049

Merged
asgothian merged 1 commit into
ioBroker:masterfrom
Schimi1983:fix/translations-dialogs
Nov 18, 2026
Merged

asgothian merged 1 commit into
ioBroker:masterfrom
Schimi1983:fix/translations-dialogs

Conversation

@Schimi1983

Copy link
Copy Markdown
Contributor

Second part of the translation fixes from #3039 (first part: #3045).

Problem
With a non-English admin language, dialogs and tooltips still show English: e.g. "Rename / Group device", "Edit Group", "Start Pairing", "State cleanup confirmation", the sort/filter menus of the device tab, all tooltips of the top buttons ("Show Errors", "Rebuild states" …) and texts built in admin.js ("No devices in group", "No info", "Option").

Cause

  • 44 keys are missing in words.js / i18n/*.json.
  • 7 labels/headings are split over several lines in the HTML. translateAll() looks the text up including line breaks and indentation, so they never match – 5 of them ("Previous Parents", "Unbind remote from Coordinator …", "This page is needed only for advanced users …" …) already had translations that were never shown.
  • admin.js builds some texts as plain English strings.

Change

Not changed: debug tables (technical view) and the buttons of the Hardware tab – their tooltips come with the PR for #3039 PR3.

Tested on my installation (admin 7, German, this branch installed): all 31 texts/headings and 10 tooltips checked in the page are German; _("No info") → "Keine Informationen"; restoreGroupsOnRejoin is in savedSettings and is returned by save(). words.js loads without errors, no entry with an empty translation.

Install for testing: https://github.com/Schimi1983/ioBroker.zigbee/tarball/fix/translations-dialogs

🤖 Generated with Claude Code

https://claude.ai/code/session_013Q82LhA9wBMqm1L1powvy6

Second part of the translation fixes from #3039 (first part: #3045).

- add 44 missing texts (dialogs, device tab filters, tooltips of the
  top buttons, texts built in admin.js) to admin/words.js and all
  11 admin/i18n/*.json
- join 7 labels/headings that were split over several lines; translateAll()
  looks the text up including line breaks, so they were never translated
  (5 of them already had translations)
- texts built in admin.js ("No devices in group", "No info", "Option")
  now use _()
- model filter clear button: title was Russian ("Очистить"), now "clear"
  like its data-lang-title
- add 'restoreGroupsOnRejoin' (#3021) to savedSettings, so the option is
  loaded and saved by the config page, and fill its missing translations

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Q82LhA9wBMqm1L1powvy6
@asgothian
asgothian merged commit d861fc4 into ioBroker:master Nov 18, 2026
11 checks passed
@Schimi1983
Schimi1983 deleted the fix/translations-dialogs branch November 18, 2026 11:57
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.

2 participants