Skip to content

Add Polish translation (closes #19)#21

Merged
jpettitt merged 2 commits into
mainfrom
issue-19-polish-translation
Jun 14, 2026
Merged

Add Polish translation (closes #19)#21
jpettitt merged 2 commits into
mainfrom
issue-19-polish-translation

Conversation

@jpettitt

Copy link
Copy Markdown
Owner

Adds Polish (pl) localization, requested in #19. The Polish strings were provided by @dida886 in the issue.

Changes

  • New src/translations/pl.json — full Polish translation (52/52 keys), wired into localize.ts. Activates automatically when the Home Assistant language is pl.
  • Maintenance scriptspl added as a first-class target in check-translations.mjs and translate.mjs (including the DeepL PL mapping), so future key additions flag Polish too.
  • Back-filled fr/nl/de — these three locales were each missing 7 keys that had been added to en.json (section_channels, empty_channels, the four telemetry entity pickers, node_order_label). The runtime falls back to English per-key, so users saw no breakage, but check-translations was red. Hand-translated to match each file's style. All four locales now pass 52/52.
  • README localization section updated to list Polish.

Validation

  • npm run check-translations — all four locales 52/52 ✅
  • npm run typecheck
  • npm run build

Notes

  • No version bump — holding for a community PR that's incoming.
  • The fr/nl/de back-fills are hand-translated (good-not-native); corrections welcome.

Closes #19

jpettitt added 2 commits June 13, 2026 17:49
New src/translations/pl.json (community-provided in the issue), wired
into localize.ts. Polish added as a first-class target in the
check-translations and translate maintenance scripts (incl. DeepL PL
mapping). README localization list updated.
These three locales were missing 7 keys that had been added to en.json
(card.section_channels, card.empty_channels, the four telemetry entity
pickers, editor.node_order_label). At runtime the localizer falls back
to English per-key so users saw no breakage, but check-translations was
red. Hand-translated to match each file's existing style; all four
locales now pass 52/52.
@jpettitt
jpettitt merged commit 047312a into main Jun 14, 2026
4 checks passed

@sefinek sefinek left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sometimes it's written as MeshCore, and elsewhere as meshcore. Why?

@jpettitt

Copy link
Copy Markdown
Owner Author

Sometimes it's written as MeshCore, and elsewhere as meshcore. Why?

Typos should be MeshCore everywherethat it is show as user facing text, I've fixed in in my source and will push the fix with the next release.

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.

Add Polish language support

2 participants