Skip to content

Bring the translations forward from 5.x [ignore_release] - #647

Merged
AltamashShaikh merged 1 commit into
6.x-devfrom
port-translations-6x
Aug 24, 2026
Merged

Bring the translations forward from 5.x [ignore_release]#647
AltamashShaikh merged 1 commit into
6.x-devfrom
port-translations-6x

Conversation

@snake14

@snake14 snake14 commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Description

Brings the translations forward from 5.x-dev, which had accrued strings the 6.x line never received.

Weblate still pushes this component to 5.x-dev, and — this is the part that is easy to get wrong — Weblate does not backfill a branch when a component switches. It writes only the languages a translator happens to touch. LoginLdap demonstrates it: Portuguese (Brazil) strings landed on 5.x on 9 August, the component then switched and Weblate pushed French, Greek and Czech to 6.x over the following week, yet pt-br.json on 6.x is still the July version. So the strings do not arrive on their own.

Safety of this change: every language file touched here changed on 5.x-dev since the branches diverged, and none changed on 6.x-dev, so 5.x is uniformly the newer side and nothing newer is being overwritten. I also checked that no translated key is lost: every key present only on 6.x has no counterpart in 6.x's en.json, so it is an orphan rather than a live translation. Each file was validated as JSON afterwards, and no file contains a key without an en.json counterpart.

This is a relocation of Weblate's own output onto the branch Weblate will adopt, not hand-authored translation, so it is not the kind of non-English edit the i18n rules warn against.

This will recur until the Weblate component itself is pointed at 6.x-dev (component settings -> Version control -> Repository branch, on Hosted Weblate). Worth doing alongside this.

Issue No

Part of the Matomo 6 plugin readiness work. No separate ticket.

Steps to Replicate the Issue

  1. Compare lang/ between 5.x-dev and 6.x-dev on this plugin.
  2. Expected: the two lines carry the same translations.
  3. Actual: 5.x holds strings 6.x never received, because Weblate pushes this component to 5.x only.

Checklist

  • [✖] Tested locally or on demo2/demo3?
  • [NA] New test case added/updated?
  • [✔] Are all newly added texts included via translation?
  • [NA] Are text sanitized properly? (Eg use of v-text v/s v-html for vue)
  • [✖] Version bumped?
  • [✔] I have understood, reviewed, and tested all AI outputs before use
  • [✔] All AI instructions respect security, IP, and privacy rules
  • [NA] Documentation updated?

Weblate still pushes this component to 5.x-dev, so 138 strings (134 Czech,
4 French) had accrued there only. Both files changed on 5.x since the branches
split and neither changed on 6.x, so nothing newer is overwritten.
@AltamashShaikh
AltamashShaikh merged commit a5cf81b into 6.x-dev Aug 24, 2026
14 of 15 checks passed
@AltamashShaikh
AltamashShaikh deleted the port-translations-6x branch August 24, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants