탐색 건너뛰기

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>