parametrized activity i18n #5069

Open
opened 2026-02-05 09:37:58 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @kekcsi on GitHub (Nov 30, 2024).

Describe the Bug

Translation keys like page_create, page_update, chapter_create should be parametrized like':user created page :entity'- otherwise grammatically correct sentences can't be constructed in languages other than English.

Steps to Reproduce

  1. Switch the UI to Hungarian, maybe using the browser's preferred language setting.
  2. Reload any BookStack page.
  3. Scroll down on the left sidebar. See that the activities are written in a weird Yoda language.

Expected Behaviour

Some languages would have a word or two AFTER the page title or BEFORE user name in the activities displayed.

Screenshots or Additional Context

image

Browser Details

No response

Exact BookStack Version

24.05.4

Originally created by @kekcsi on GitHub (Nov 30, 2024). ### Describe the Bug Translation keys like `page_create`, `page_update`, `chapter_create `should be parametrized like` ':user created page :entity' `- otherwise grammatically correct sentences can't be constructed in languages other than English. ### Steps to Reproduce 1. Switch the UI to Hungarian, maybe using the browser's preferred language setting. 2. Reload any BookStack page. 3. Scroll down on the left sidebar. See that the activities are written in a weird Yoda language. ### Expected Behaviour Some languages would have a word or two AFTER the page title or BEFORE user name in the activities displayed. ### Screenshots or Additional Context ![image](https://github.com/user-attachments/assets/cb7e1e56-ed39-48bc-92b0-66922708c00f) ### Browser Details _No response_ ### Exact BookStack Version 24.05.4
OVERLORD added the 🛠️ Enhancement💆 UX🌍 Translations labels 2026-02-05 09:37:58 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5069