You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Admin View published links ignore entry locale #2874
In an i18n site, the admin's "View published" links ignore the entry locale.
Version: 0.36.0
Minimal configuration:
default locale: en
locales: en, pl
prefixDefaultLocale: false
collection urlPattern: /posts/{slug}
Steps to reproduce
Create and publish a Polish entry with the slug polski-test.
Click "View published" in the content list or editor.
Actual URL: /posts/polski-test
Expected URL: /pl/posts/polski-test
Entries in the default English locale should remain unprefixed.
The preview endpoint already supports locale-aware paths through EMDASH_PREVIEW_PATH_PATTERN and {locale}, but the published link builder only interpolates {slug} and is called without the entry locale.
Activity