Skip to content

Live Preview: language set in "locale_preference" overrides the selected language version #5

@K3CK

Description

@K3CK

We noticed that the live preview in Statamic's backend has an issue when there is a value set for local_preference. When starting Live Preview the version of local_preference is shown, no matter which language version one started the Live Preview session with. So one has to actively switch the language in the live preview again.

Example: A site with English and German version. Actively setting to German via language switcher sets local_preference to de. Opening an English entry in the control panel with Live Preview shows the German version instead of the English version.

It would be great if the add-on would be aware if an entry is shown in Live Preview or not.

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions