Navigation überspringen

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

Schlagwörter: 

Dieses Thema enthält 9 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Marcel Vor 1 Jahr, 8 Monaten.

Assistiert von: Marcel.

Verfasser Beiträge
März 1, 2023 unter 3:33 pm #13146487

leoW-3

versteckter Link

ich nutze eine Media Gallery von Premium Addons und eins davon ist anklickbar und zwar der RAL-Button, dahinter ist eine Lightbox hinterlegt.
Unter media Translation habe ich dann das in den anderen Sprachen ersetzt, jedoch wird in den anderen Sprachen immer nur das Deutsche angezeigt.

Bildschirm­foto 2023-03-01 um 16.31.30.png
Bildschirm­foto 2023-03-01 um 16.31.21.png
März 1, 2023 unter 5:42 pm #13147615

Marcel
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch )

Zeitzone: Europe/Madrid (GMT+01:00)

Hallo,

da es sich um ein Elementor Widget handelt, funktioniert hier die Media Translation leider nicht.

Sie können jedoch versuchen, die Suchfunktion im Advanced Translation Editor zu verwenden, um dort den Link zum Bild zu ersetzen: https://wpml.org/de/announcements/2020/02/translating-links-with-advanced-translation-editor/. Suchen Sie dort im Suchfenster einfach nach "http".

Ist das Bild dort ersichtlich? Ansonsten sind weitere Anpassungen in der XML-Config von Premium Elementor Add-Ons nötig, damit die URL für die Lightbox übergeben wird.

Freundliche Grüße
Marcel

März 6, 2023 unter 1:53 pm #13179511

leoW-3

leider funktioniert das mit Advanced Translation auch nicht. Welche Einstellungen müsste ich in der XML-Config eintragen? Damit es das übersetzte Bild von der Media Translation übernimmt

März 6, 2023 unter 2:03 pm #13179587

Marcel
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch )

Zeitzone: Europe/Madrid (GMT+01:00)

Hallo,

eine Anpassung via XML-Config macht das Bild nur im Translation Editor für eine Übersetzung ersichtlich. Eine Nutzung der Media Translation ist für Elementor nicht möglich.

Sie können die Config wie hier beschrieben erstellen: https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/.

Bitte lassen Sie mich wissen, ob Sie hierfür weitere Unterstützung benötigen.

Freundliche Grüße
Marcel

März 7, 2023 unter 9:04 am #13186685

leoW-3

[3] => stdClass Object
(
[_id] => b78ed0f
[premium_gallery_img] => stdClass Object
(
[url] => versteckter Link
[id] => 22989
[alt] =>
[source] => library
)

[premium_gallery_img_desc] => Optional RAL-Farbe wählbar
[premium_gallery_link_whole] => yes
[__dynamic__] => stdClass Object
(
[premium_gallery_img_link] => [elementor-tag id="8d143a3" name="lightbox" settings="%7B%22type%22%3A%22image%22%2C%22image%22%3A%7B%22url%22%3A%22https%3A%2F%2Fkiffe-golf.com%2Fwp-content%2Fuploads%2F2023%2F02%2FRAL-Farbkarte-DE.jpg%22%2C%22id%22%3A29976%2C%22alt%22%3A%22%22%2C%22source%22%3A%22library%22%2C%22size%22%3A%22%22%7D%7D"]
)

)

)

Ich habe das in meiner XML:
<elementor-widgets>
<widget name="premium-gallery-item">
<conditions>
<condition key="widgetType">premium-gallery-item</condition>
</conditions>
<fields>
<field type="IMG Link" editor_type="LINK" key_of="premium_gallery_img_link">url</field>
</fields>
</widget>
</elementor-widgets>

Jedoch werden alle Widgets von der Seite zum Übersetzen gegeben.

März 8, 2023 unter 5:53 pm #13201333

Marcel
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch )

Zeitzone: Europe/Madrid (GMT+01:00)

Hallo,

danke für den Code. Was genau meinen Sie mit "Jedoch werden alle Widgets von der Seite zum Übersetzen gegeben". Meinen Sie alle Media Widgets?

Die XML Config steuert dies per Widget, egal wie oft es eingebunden wurde. Bitte um Info.

Vielen Dank!

Freundliche Grüße
Marcel

März 9, 2023 unter 7:17 am #13203699

leoW-3

<p>[{"id":"1cab41e","elType":"section","settings":[],"elements":[{"id":"c7291f0","elType":"column","settings":{"_column_size":100,"_inline_size":null},"elements":[{"id":"2ff436b","elType":"widget","settings":{"premium_gallery_column_number":"25%","premium_gallery_column_number_tablet":"50%","premium_gallery_column_number_mobile":"50%","premium_gallery_load_more_text":"Mehr laden","premium_gallery_filter":"","premium_gallery_first_cat_switcher":"","premium_gallery_first_cat_label":"","premium_gallery_cats_content":[{"_id":"c97fc80"}],"url_flag":"cat","premium_gallery_img_content":[{"_id":"4818344","premium_gallery_img":{"url":"https:\/\/kiffe-golf.com\/wp-content\/uploads\/2022\/03\/Trolley-Farbe-schwarz.jpeg","id":22975,"alt":"","source":"library"},"premium_gallery_img_desc":"Schwarz-matt"},{"premium_gallery_img":{"url":"https:\/\/kiffe-golf.com\/wp-content\/uploads\/2022\/03\/Trolley-Farbe-silber.jpeg","id":22979,"alt":"","source":"library"},"premium_gallery_img_desc":"Silber-metallic","_id":"d57b916"},{"premium_gallery_img":{"url":"https:\/\/kiffe-golf.com\/wp-content\/uploads\/2022\/03\/Trolley-Farbe-weiss.jpeg","id":22980,"alt":"","source":"library"},"premium_gallery_img_desc":"Wei\u00df","_id":"d1f2d37"},{"_id":"b78ed0f","premium_gallery_img":{"url":"https:\/\/kiffe-golf.com\/wp-content\/uploads\/2022\/03\/Trolley-Farbe-RAL.jpeg","id":22989,"alt":"","source":"library"},"premium_gallery_img_desc":"Optional RAL-Farbe w\u00e4hlbar","premium_gallery_link_whole":"yes","__dynamic__":{"premium_gallery_img_link":"[elementor-tag id=\"8d143a3\" name=\"lightbox\" settings=\"%7B%22type%22%3A%22image%22%2C%22image%22%3A%7B%22url%22%3A%22https%3A%2F%2Fkiffe-golf.com%2Fwp-content%2Fuploads%2F2023%2F02%2FRAL-Farbkarte-DE.jpg%22%2C%22id%22%3A29976%2C%22alt%22%3A%22%22%2C%22source%22%3A%22library%22%2C%22size%22%3A%22%22%7D%7D\"]"}}],"premium_gallery_img_style":"style3","premium_gallery_video_icon":"","premium_gallery_light_box":"","premium_gallery_title_typo_typography":"custom","premium_gallery_title_typo_font_size":{"unit":"px","size":15,"sizes":[]},"premium_gallery_title_typo_line_height":{"unit":"em","size":1.5,"sizes":[]},"premium_gallery_title_typo_line_height_tablet":{"unit":"px","size":"","sizes":[]},"premium_gallery_title_typo_line_height_mobile":{"unit":"px","size":"","sizes":[]},"premium_gallery_description_typo_typography":"custom","premium_gallery_description_typo_font_size":{"unit":"px","size":14,"sizes":[]},"premium_gallery_description_typo_line_height":{"unit":"em","size":1.3,"sizes":[]},"premium_gallery_content_margin":{"unit":"px","top":"-7","right":"0","bottom":"0","left":"0","isLinked":false},"_margin_mobile":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":false},"premium_gallery_lightbox_type":"yes","lightbox_show_title":""},"elements":[],"widgetType":"premium-img-gallery"}],"isInner":false}],"isInner":false},{"id":"10cfff1","elType":"section","settings":[],"elements":[{"id":"ad3f130","elType":"column","settings":{"_column_size":100,"_inline_size":null},"elements":[{"id":"381ffcd","elType":"widget","settings":[],"elements":[],"widgetType":"text-editor"}],"isInner":false}],"isInner":false},{"id":"3b78f15","elType":"section","settings":[],"elements":[{"id":"aa93fa9","elType":"column","settings":{"_column_size":100,"_inline_size":null,"padding_mobile":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":false}},"elements":[{"id":"9cae0dd","elType":"widget","settings":{"title":"Besonderheiten","header_size":"h3","title_color":"#212121","typography_typography":"custom","typography_font_size":{"unit":"px","size":36,"sizes":[]},"align_mobile":"left","typography_text_transform":"capitalize"},"elements":[],"widgetType":"heading"},{"id":"2f24c43","elType":"section","settings":{"animation":"fadeIn"},"elements":[{"id":"cf28e6f","elType":"column","settings":{"_column_size":100,"_inline_size":null,"_inline_size_tablet":100,"margin":{"unit":"px","top":"-10","right":"10","bottom":"-15","left":"-30","isLinked":false},"margin_tablet":{"unit":"px","top":"5","right":"5","bottom":"5","left":"5","isLinked":true}},"elements":[{"id":"6f93ef1","elType":"widget","settings":{"image":{"url":"https:\/\/kiffe-golf.com\/wp-content\/uploads\/2021\/02\/Made-in-Germany-01.png","id":15814,"alt":"","source":"library"},"title_text":"Qualit\u00e4t ist unser Ma\u00dfstab\u200b","description_text":"","position":"left","image_space":{"unit":"px","size":0,"sizes":[]},"image_size":{"unit":"%","size":35,"sizes":[]},"content_vertical_alignment":"middle","title_bottom_space":{"unit":"px","size":10,"sizes":[]},"title_size":"h4","title_typography_typography":"custom","title_typography_font_family":"FiraSans","description_typography_typography":"custom","description_typography_font_family":"FiraSans","_margin":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":false},"title_typography_line_height":{"unit":"em","size":1.2,"sizes":[]},"description_typography_line_height":{"unit":"em","size":1.2,"sizes":[]},"__globals__":{"title_color":"globals\/colors?id=6037072","description_color":"globals\/colors?id=astglobalcolor2"},"text_align_mobile":"left","_padding":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":false}},"elements":[],"widgetType":"image-box"}],"isInner":true}],"isInner":true},{"id":"182c877","elType":"section","settings":{"structure":"20","animation":"fadeIn","animation_delay":100},"elements":[{"id":"b5684d8","elType":"column","settings":{"_column_size":50,"_inline_size":null,"_inline_size_tablet":100,"margin":{"unit":"px","top":"10","right":"10","bottom":"10","left":"0","isLinked":false},"margin_tablet":{"unit":"px","top":"5","right":"5","bottom":"5","left":"5","isLinked":true}},"elements":[{"id":"4be14bc","elType":"widget","settings":{"image":{"url":"","id":""},"title_text":"Breites Chassis Design","description_text":"Mit hoher Eigenstabilit\u00e4t.","position":"left","image_space":{"unit":"px","size":0,"sizes":[]},"image_size":{"unit":"%","size":0,"sizes":[]},"content_vertical_alignment":"middle","title_bottom_space":{"unit":"px","size":10,"sizes":[]},"title_size":"h4","title_typography_typography":"custom","title_typography_font_family":"FiraSans","description_typography_typography":"custom","description_typography_font_family":"FiraSans","_margin":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":false},"title_typography_line_height":{"unit":"em","size":1.2,"sizes":[]},"description_typography_line_height":{"unit":"em","size":1.2,"sizes":[]},"__globals__":{"title_color":"globals\/colors?id=primary","description_color":"globals\/colors?id=astglobalcolor2"},"text_align_mobile":"left"},"elements":[],"widgetType":"image-box"}],"isInner":true},{"id":"db459e4","elType":"column","settings":{"_column_size":50,"_inline_size":null,"_inline_size_tablet":100,"margin":{"unit":"px","top":"10","right":"10","bottom":"10","left":"0","isLinked":false},"margin_tablet":{"unit":"px","top":"5","right":"5","bottom":"5","left":"5","isLinked":true}},"elements":[{"id":"bd76665","elType":"widget","settings":{"image":{"url":"","id":""},"title_text":"Praktische Akkubefestigung","description_text":"An der unteren Lenkstange.\nSie k\u00f6nnen Ihre Golftasche ohne Akkufach weiterhin benutzen.","position":"left","image_space":{"unit":"px","size":0,"sizes":[]},"image_size":{"unit":"%","size":0,"sizes":[]},"content_vertical_alignment":"middle","title_bottom_space":{"unit":"px","size":10,"sizes":[]},"title_size":"h4","title_typography_typography":"custom","title_typography_font_family":"FiraSans","description_typography_typography":"custom","description_typography_font_family":"FiraSans","_margin":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":false},"title_typography_line_height":{"unit":"em","size":1.2,"sizes":[]},"description_typography_line_height":{"unit":"em","size":1.2,"sizes":[]},"__globals__":{"title_color":"globals\/colors?id=primary","description_color":"globals\/colors?id=astglobalcolor2"},"text_align_mobile":"left"},"elements":[],"widgetType":"image-box"}],"isInner":true}],"isInner":true},{"id":"362592a","elType":"section","settings":{"structure":"20","animation":"fadeIn","animation_delay":100},"elements":[{"id":"ea0cb6c","elType":"column","settings":{"_column_size":50,"_inline_size":null,"_inline_size_tablet":100,"margin":{"unit":"px","top":"10","right":"10","bottom":"10","left":"0","isLinked":false},"margin_tablet":{"unit":"px","top":"5","right":"5","bottom":"5","left":"5","isLinked":true}},"elements":[{"id":"0d2911a","elType":"widget","settings":{"image":{"url":"","id":""},"title_text":"Leistungsstarker Akku","description_text":"Dank Magnetstecker im Nu angeschlossen. Je nach Topografie h\u00e4lt der Akku 27-40 Loch.","position":"left","image_space":{"unit":"px","size":0,"sizes":[]},"image_size":{"unit":"%","size":0,"sizes":[]},"content_vertical_alignment":"middle","title_bottom_space":{"unit":"px","size":10,"sizes":[]},"title_size":"h4","title_typography_typography":"custom","title_typography_font_family":"FiraSans","description_typography_typography":"custom","description_typography_font_family":"FiraSans","_margin":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":false},"title_typography_line_height":{"unit":"em","size":1.2,"sizes":[]},"description_typography_line_height":{"unit":"em","size":1.2,"sizes":[]},"__globals__":{"title_color":"globals\/colors?id=primary","description_color":"globals\/colors?id=astglobalcolor2"},"text_align_mobile":"left"},"elements":[],"widgetType":"image-box"}],"isInner":true},{"id":"9fb356f","elType":"column","settings":{"_column_size":50,"_inline_size":null,"_inline_size_tablet":100,"margin":{"unit":"px","top":"10","right":"10","bottom":"10","left":"0","isLinked":false},"margin_tablet":{"unit":"px","top":"5","right":"5","bottom":"5","left":"5","isLinked":true}},"elements":[{"id":"2ee7737","elType":"widget","settings":{"image":{"url":"","id":""},"title_text":"Metall Radschl\u00f6sser","description_text":"Sicherer Klickverschluss per Knopfdruck.","position":"left","image_space":{"unit":"px","size":0,"sizes":[]},"image_size":{"unit":"%","size":0,"sizes":[]},"content_vertical_alignment":"middle","title_bottom_space":{"unit":"px","size":10,"sizes":[]},"title_size":"h4","title_typography_typography":"custom","title_typography_font_family":"FiraSans","description_typography_typography":"custom","description_typography_font_family":"FiraSans","_margin":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":false},"title_typography_line_height":{"unit":"em","size":1.2,"sizes":[]},"description_typography_line_height":{"unit":"em","size":1.2,"sizes":[]},"__globals__":{"title_color":"globals\/colors?id=primary","description_color":"globals\/colors?id=astglobalcolor2"},"text_align_mobile":"left"},"elements":[],"widgetType":"image-box"}],"isInner":true}],"isInner":true},{"id":"b862e61","elType":"widget","settings":{"text":"Ausstattungs\u00fcbersicht","link":{"url":"\/trolley\/ausstattung","is_external":"","nofollow":"","custom_attributes":""},"align":"left","size":"md","typography_typography":"custom","typography_font_family":"FiraSans","typography_font_weight":"400","typography_text_transform":"uppercase","button_text_color":"#FFFFFF","hover_animation":"float","border_radius":{"unit":"px","top":"15","right":"15","bottom":"15","left":"15","isLinked":true},"_margin":{"unit":"px","top":"40","right":"0","bottom":"0","left":"0","isLinked":""},"_animation":"none","animation_duration":"fast","_animation_delay":600,"_element_width_mobile":"inherit","align_mobile":"left"},"elements":[],"widgetType":"button"}],"isInner":false}],"isInner":false}]</p>

März 9, 2023 unter 7:21 am #13203705

leoW-3

Also da ist wirklich alles drin, sobald ich ein zusätzliches Widget auf der Seite einfüge.

Und gerade dieses Widget dass ich grad nur übersetzen will, wird mir auch nicht mehr einzelnd zum übersetzen angezeigt. (Siehe Anhang) Es geht um den Bereich mit den 4 Farben und bei einer ist noch eine Lightbox hinterlegt, die ich in den anderen Sprachen austauschen müsste.

LG
Nicole

Bildschirm­foto 2023-03-09 um 08.17.37.png
März 9, 2023 unter 7:21 am #13203761

leoW-3

Das ist ein beispiel

Bildschirm­foto 2023-03-09 um 08.21.25.png
März 9, 2023 unter 5:41 pm #13210107

Marcel
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch )

Zeitzone: Europe/Madrid (GMT+01:00)

Hallo Nicole,

dies ist kein Fehler. Sie haben wie über https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/ beschrieben das _elementor_data Feld auf übersetzbar gestellt, daher ist dies noch ersichtlich. Sie können dies deaktivieren.

Dies war nur benötigt, um den die Benennungen für das XML herauszufinden.

Freundliche Grüße
Marcel