Repository navigation
Translate dialogs, tooltips and remaining admin texts - #3049
Merged
Merged
Conversation
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
This was referenced Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
words.js/i18n/*.json.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.jsbuilds some texts as plain English strings.Change
words.jsand all 11i18n/*.json(appended, existing entries untouched)admin.js: "No devices in group", "No info", "Option" now use_()titlewas Russian ("Очистить"), now "clear" like itsdata-lang-titlerestoreGroupsOnRejoinadded tosavedSettings(otherwise the checkbox is neither loaded nor saved – see my comment in fix: restore groups optionally after rejoin and report membership errors #3021) and its 9 missing translations filledNot 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";restoreGroupsOnRejoinis insavedSettingsand is returned bysave().words.jsloads 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