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

Created on 4 January 2023, over 1 year ago
Updated 19 January 2023, over 1 year 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.69.0 2024