-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
status: verifiedIf an issue has been reproducedIf an issue has been reproduced
Description
Describe the Bug
In the admin UI, when viewing the version history of a document, the breadcrumb navigation displays the label “Versions” even when using a non-English interface (e.g., Polish). This occurs despite the translation key plTranslations.version.versions being correctly defined as “Wersje”.
The issue is caused by a hardcoded string in the PayloadCMS core code. Specifically, the label “Versions” is written directly in the SetStepNav.tsx file without referencing the internationalization (i18n) system. As a result, the translated value is ignored, and the breadcrumb remains in English regardless of the active language setting.
Link to the code that reproduces this issue
label: 'Versions', |
Reproduction Steps
- Enable a non-English language in the PayloadCMS admin panel.
- Go to a collection with saved versions.
- Open the version history of a document.
- Observe the breadcrumb at the top of the screen.
Which area(s) are affected? (Select all that apply)
Not sure
Environment Info
PayloadCMS version: v3.28.0
Metadata
Metadata
Assignees
Labels
status: verifiedIf an issue has been reproducedIf an issue has been reproduced