2times same language field

Created on 24 November 2021, about 3 years ago
Updated 23 February 2023, almost 2 years ago

When I have 3 languages (nl-fr-en) and I set the standard language to EN everything works fine.
When I change the standard language to FR the FR field is not displayed correctly.
It seems that only the EN and NL field are loaded and that the FR default field gets the value of the NL field.

example for body field
EN (default) - NL - FR
field-body
field-body-nl
field-body-fr

EN - NL - FR (default)
field-body-en
field-body-nl
the default field-body is not rendered

The problem is that the $widget_form value gets overridden based on where the default language value is in the array when you retrieve all the languages.
so I renamed it for the default language to $widget_form_default.

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium ghuygens

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