Skip to content

fix(i18n): Correct German column count label rendering - #2131

Merged
Philipinho merged 1 commit into
docmost:mainfrom
mayhemking007:fix/german-column-label
Apr 30, 2026
Merged

Philipinho merged 1 commit into
docmost:mainfrom
mayhemking007:fix/german-column-label

Conversation

@mayhemking007

Copy link
Copy Markdown
Contributor

Fix German column count label rendering

The German translation for column count was using ICU plural syntax:

{count, plural, one {# Spalte} other {# Spalten}}

However, the current i18n setup (react-i18next) does not support ICU formatting, causing the raw string to be displayed in the UI.

Fix

Replaced ICU syntax with standard i18next interpolation:

"{{count}} Spalten"

Since the UI only supports 2–5 columns, plural form is always correct.

Result

Column count now renders correctly in German:

  • 2 Spalten
  • 3 Spalten
  • etc.

Before Fix -

Screenshot 2026-04-27 190616

After Fix -

Screenshot 2026-04-27 192256

Fixes #2130

@Philipinho

Copy link
Copy Markdown
Member

Thanks for contributing.

@Philipinho
Philipinho merged commit 9943e10 into docmost:main Apr 30, 2026
1 check passed
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.

Missing label for column layout dropdown

2 participants