דלג על ניווט

Open

Reported for: WPML Multilingual CMS 4.6.6

Topic Tags: Compatibility

Overview of the issue

When utilizing the Elementor plugin and translating background images using WPML Media Translation, if these images are configured as a slideshow for a section, you may encounter an issue where they do not appear translated in their respective translated versions.

Workaround

Please, make sure of having a full backup of your site before proceeding.

  • Open …/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/media/modules/AllNodes.php file.
  • Replace:
    		foreach ( $backgrounds as $background ) {
    				$settings = $this->translate_image_property( $settings, $background , $target_lang,
    					$source_lang );
    		}
    
  • For:
    		foreach ( $backgrounds as $background ) {
    				$settings = $this->translate_image_property( $settings, $background , $target_lang,
    					$source_lang );
    		}
    
    		$settings = $this->translate_images_property( $settings, 'background_slideshow_gallery', $target_lang, $source_lang );
    

השאר מענה

אנא הישארו בנושא והיו מכבדים לאחרים. אם אתה צריך עזרה בבעיות שאינן קשורות לפוסט הזה, השתמש בפורום התמיכה שלנו כדי להתחיל צ'אט או לשלוח כרטיס.

תוכל להשתמש בתגים הבאים:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>