Translate File Field

Created on 25 August 2021, about 3 years ago
Updated 23 February 2023, over 1 year ago

Problem/Motivation

It is not possible to save a File field for a content type on which Inline Translation has been activated.

Steps to reproduce

- Create a File field type X on a content type Y
- Activate Inline Translation for content type Y, making sure that field X is checked
- Create a content of type Y and add a file to translated languages
- Save the content
- Edit the same content and notice that the file has not been saved for the translated languages.

Proposed resolution

In the EntityOperations controller, edit the entityBuilder and add condition for file to the below code
if ($field_type == 'image') {

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡²πŸ‡ΊMauritius whiz11

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.

Production build 0.71.5 2024