This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 9 replies, has 2 voices.
Last updated by davidS-113 2 years, 10 months ago.
Assisted by: Alejandro.
Author | Posts |
---|---|
March 11, 2022 at 10:26 am #10767143 | |
davidS-113 |
With the Advanced Translation Editor I am not able to translate the sliders, that I created with the SmartSlider3 plugin. When I search for "smartslider" within the translation editor, it shows "smartslider3" in the original language. How can I insert the translated slider? Can you please help? Using the Classic Editor is not an option. WordPress and all plugins are up to date. |
March 12, 2022 at 4:32 pm #10775569 | |
Alejandro Supporter
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
Hello there! It seems that plugin is not officially compatible with WPML which means that if they mention they are compatible with WPML, it's because they are likely to maintain such compatibility (So you'd have to contact them). However it seems the solution for this specific situation has been the same for a few years already: https://wpml.org/forums/topic/translation-smart-slider-3/#post-2786490 you can try the workaround explained there or in short, create a slider per language and try to add different shortcodes for them. Let me know how it goes. |
March 14, 2022 at 9:56 am #10782753 | |
davidS-113 |
Hi, thanks for your help! I will try and contact SmartSlider3 support. When I click on your link, I get a 404 page.. |
March 14, 2022 at 10:56 am #10783501 | |
davidS-113 |
Hi Alejandro, I have integrated the slider as a shortcode. Now when I want to edit the translation, the shortcode is not displayed via the search function. This has nothing to do with the compatibility of SmartSlider3, right? WPML should be able to recognize whatever shortcode to translate it, right? The shortcode looks like this: |
March 14, 2022 at 4:23 pm #10786433 | |
Alejandro Supporter
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
Please check the link again, it should be working now. the shortcode by itself will not appear anywhere, no, because the shortcodes are "transformed" into its content so we do not really "see" the shortcode, but its content. However, i'm not sure how have you translated the shortcode so i can't really say much more about this. Woud you be so kind as to Install the smartslider 3 plugin here: hidden link and then try to create a smarstlider 3 + write the steps to do so here. I'd like to check if we can do something for you here 🙂 Regards. |
March 14, 2022 at 4:47 pm #10786523 | |
davidS-113 |
Ok, I see that it is working, when searching for the slider id. I created two sliders for the different languages. Language 1: Language 2: But I am not sure, if this is the right way to go. Because you are telling the system, that for example "3" is the translation of "2". Or does WPML recognize, that this is not "real" text? |
March 15, 2022 at 5:26 pm #10795981 | |
Alejandro Supporter
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
I think i might've found a solution for you. 1) Create 2 sliders, one for each language <wpml-config> <shortcodes> <shortcode> <tag>smartslider3</tag> <attributes> <attribute>alias</attribute> <attribute>slider</attribute> </attributes> </shortcode> </shortcodes> </wpml-config> 4) Try to translate the page with the shortcode (you might need to use the "shortcode", "HTML" or "paragraph"/"classic editor" block to make it work) in the translation editor you'll see the alias as a text that can be translated, you can translate there the alias with the "translated language" slider and that should translate it for you! Regards. |
March 16, 2022 at 11:30 am #10802145 | |
davidS-113 |
Thanks for your help! I can see the alias in the translation editor. As you mentioned, it is not working when using the SmartSlider3 block, so I had to use the shortcode block to make it work. One last question: As I said, I already could make it work by searching for the slider id in the translation editor and translating it to the translated slider id. Do you see any problems with this method? Is WPML now thinking that "3" is the translation of "2"? Or does WPML recognize, that this is not real text but a translation of shortcodes? |
March 16, 2022 at 12:42 pm #10803259 | |
Alejandro Supporter
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
I recommended the slider instead of the ID because with the advanced translation editor, it wouldn't really work with the numbers because they would not be translatable. For WordPress, all the content in the shortcodes are nothing but strings or numbers (the author uses those numbers and strings to "make things work" afterwards), so when you translate them you're just exchanging the id number, which would end up in a "translated" result. |