Add Translation Management guidance, enforce mandatory version bumps, and add version change validation - #83
Merged
Conversation
…flow Co-authored-by: DutchmanNL <7318445+DutchmanNL@users.noreply.github.com>
Co-authored-by: DutchmanNL <7318445+DutchmanNL@users.noreply.github.com>
Co-authored-by: DutchmanNL <7318445+DutchmanNL@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Ensure translation files remain synchronized
Add Translation Management guidance for admin/i18n synchronization
Feb 17, 2026
DutchmanNL
requested changes
Feb 17, 2026
… process Co-authored-by: DutchmanNL <7318445+DutchmanNL@users.noreply.github.com>
Copilot
AI
changed the title
Add Translation Management guidance for admin/i18n synchronization
Add Translation Management guidance and mandatory version bump process
Feb 17, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds new template guidance to help ioBroker adapter maintainers keep admin/i18n/*/translations.json synchronized with admin/jsonConfig.json, addressing the common “orphaned vs missing translation keys” problem when using npm run translate.
Changes:
- Added a “Translation Management” section to
template.mdwith a validation workflow, script example, and checklist. - Updated
README.mdto list Translation Management as a template feature. - Added WORK IN PROGRESS changelog entries documenting the new guidance.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| template.md | Adds Translation Management guidance, including a validation script example and suggested package.json wiring. |
| README.md | Highlights Translation Management as a key template feature. |
| CHANGELOG.md | Documents the addition in WORK IN PROGRESS entries. |
… with user validation Co-authored-by: DutchmanNL <7318445+DutchmanNL@users.noreply.github.com>
Copilot
AI
changed the title
Add Translation Management guidance and mandatory version bump process
Add Translation Management guidance and enforce mandatory version bumps
Feb 17, 2026
DutchmanNL
approved these changes
Feb 17, 2026
…rsion-changed test Co-authored-by: DutchmanNL <7318445+DutchmanNL@users.noreply.github.com>
DutchmanNL
approved these changes
Feb 17, 2026
Copilot
AI
changed the title
Add Translation Management guidance and enforce mandatory version bumps
Add Translation Management guidance, enforce mandatory version bumps, and add version change validation
Feb 17, 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.
ioBroker adapters maintain 11 translation files that desynchronize when
npm run translateleaves orphaned keys. Observed in bambulab PR #248.Translation Management Section
Added
template.md:605-757(153 lines) covering:npm run translate→ validation → manual cleanup → commitnpm run lint && npm run testMandatory Version Bump Process
Updated
.github/copilot-instructions.mdwith strict 3-step workflow:./scripts/manage-versions.sh update X.Y.Z./scripts/manage-versions.sh checkNo exceptions. Every PR must bump version. PATCH is default for bug fixes, docs, minor improvements. MINOR for new features. MAJOR for breaking changes.
Version Change Enforcement
Created
tests/test-version-changed.shthat:./scripts/manage-versions.sh update X.Y.ZModified
tests/test-runner.shto execute version change test before all other tests, preventing unnecessary CI runs when version not bumped.Documentation Clarifications
"pretest": "npm run lint && npm run validate:translations"Version
Bumped 0.5.1 → 0.5.2 (PATCH) per new guidelines.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.