Skip to content

fix: make period header translation reactive - #8880

Merged
SebastianKrupinski merged 1 commit into
mainfrom
8756-month-name-in-the-period-header-is-untranslated-on-first-render-store-defaults-to-en-until-mounted
Sep 6, 2026
Merged

fix: make period header translation reactive#8880
SebastianKrupinski merged 1 commit into
mainfrom
8756-month-name-in-the-period-header-is-untranslated-on-first-render-store-defaults-to-en-until-mounted

Conversation

@odzhychko

Copy link
Copy Markdown
Contributor

When the moment.js locale was loaded after first rendering the header did not rerender displaying the wrong translation.

Fixes #8756

Before

Did not automatically updates translation once moment.js locale is available.
It only changed translation after once changing the date.

Screencast.From.2026-09-06.22-00-21.mp4

After

Automatically updates translation once moment.js locale is available.

Screencast.From.2026-09-06.22-01-12.mp4

When the moment.js locale was loaded after first rendering the header did not rerender displaying the wrong translation.

Fixes #8756

Signed-off-by: Oleksandr Dzhychko <hey@oleks.dev>
@codecov

codecov Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@SebastianKrupinski

Copy link
Copy Markdown
Contributor

/backport to stable6.6

@backportbot backportbot Bot added the backport-request A backport was requested for this pull request label Sep 6, 2026
@SebastianKrupinski

Copy link
Copy Markdown
Contributor

Was this just caused by how the function was loaded after the typescript refactor? or would this happen in 6.5 also?

@SebastianKrupinski
SebastianKrupinski merged commit 4ec1501 into main Sep 6, 2026
32 checks passed
@SebastianKrupinski
SebastianKrupinski deleted the 8756-month-name-in-the-period-header-is-untranslated-on-first-render-store-defaults-to-en-until-mounted branch September 6, 2026 21:26
@github-project-automation github-project-automation Bot moved this from 🏗️ In progress to ☑️ Done in 💌 📅 👥 Groupware team Sep 6, 2026
@backportbot backportbot Bot removed the backport-request A backport was requested for this pull request label Sep 6, 2026
@odzhychko

Copy link
Copy Markdown
Contributor Author

Was this just caused by how the function was loaded after the typescript refactor? or would this happen in 6.5 also?

This bug was not introduced during the refactor.
It was introduced during the migration to Vue 3.
So stable6.5 is also affected.

@odzhychko

Copy link
Copy Markdown
Contributor Author

/backport to stable6.5

@backportbot backportbot Bot added the backport-request A backport was requested for this pull request label Sep 7, 2026
@backportbot backportbot Bot removed the backport-request A backport was requested for this pull request label Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

Month name in the period header is untranslated on first render (store defaults to 'en' until mounted())

2 participants