Plugin doesn't work with entity translations

Created on 21 August 2024, 3 months ago

Problem/Motivation

Many of the entities generated by the plugin are translatable, so if you want to generate a translation, a new entity will be generated instead with a language that is not the default site's language.

Proposed resolution

As a solution I have added to the base configuration the translation option, which has to be TRUE, it will check in the values the id key to load the parent entity and remove id from the values to avoid conflicts in the database and generate the translation, if the translation and values/id configurations are not present or the parent entity is not valid, the entity will be generated as before. If a translation exists it will update this one, if it does not exist it will create it.

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇪🇸Spain enchufe Spain

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024