Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When installing entity translation it's not possible to translate existing fieldable panel panes. Here a workaround but there should be an easier way:
//devel/php
$fp = fieldable_panels_panes_load($fpid, $vid);
$fp->language = 'en'; // was 'und'
$fp->translations->original = 'en'; // was 'und'
$fp->translations->data['en'] = $fp->translations->data['und'];
$fp->translations->data['en']['language'] = 'en';
unset($fp->translations->data['und']);
fieldable_panels_panes_save($fp);
dsm($fp);
Comments
Comment #1
Rajab Natshah CreditAttribution: Rajab Natshah commentedI do have the same problem.
As if we do have an Image Field .. We will get this message "image is required" . And the system will prevent you from Saving the Change of Language.
Comment #2
DamienMcKennaClosed a duplicate: #2410801: Can not save translated FPPs if the FPP has a file the error message will be like "Image is required" or "Thumbnail is required."