In multilingual site translated entities should be made editable with frontend_editing.

Created on 4 January 2023, almost 2 years ago
Updated 19 January 2023, almost 2 years ago

Problem/Motivation

When using frontend_editing in a multilingual site it always loads the content in original language whereas it should check and loads the relevant translation if exist.

Steps to reproduce

In a multilingual site assume that you have a content in English with translation in German and French go to any translation (i.e /de/xyz or /fr/xyz) and use fronted_editing to edit any entity for example a paragraph and see that it always loads the content in default language.

Proposed resolution

Check if entity is translatable then getTranslationFromContext.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany majid.ali

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024