-
AuthorPosts
-
July 21, 2020 at 2:20 pm #1232030
Hi,
the English translation is not showing in the Layer Slider.
The String-Translation shows the correct translation, but in the English Slider the text is still in German.
Did i do something wrong?
The website is: https://geheit.de (https://geheit.de/en/), the text in the slider is/should be: HVLP TURBINEN and HVLP FARBSPRITZGERÄTE (German) / HVLP TURBINES and HVLP PAINT SPRAY GUNS (English).
Do you have any idea?
Thanks,
HansJuly 22, 2020 at 4:08 pm #1232282Hey JAZ50,
Please have a look at the following thread:
If you need further assistance please let us know.
Best regards,
VictoriaJuly 23, 2020 at 9:11 am #1232517This reply has been marked as private.July 28, 2020 at 4:36 am #1233646Hi,
Thank you for the inquiry.
Did you create separate sliders for each language, or duplicate the existing ones? You don’t need to do this because a single slider will suffice for all languages. Please delete the duplicates and keep the original slider. Or post the login details in the private field so that we can check the sliders and translations properly.
Best regards,
IsmaelJuly 28, 2020 at 8:31 am #1233689This reply has been marked as private.July 30, 2020 at 1:27 pm #1234156Hi,
Thank you for the info.
Did you change the login URL? For some reason, the login page redirect to “wordpress_02” page which doesn’t exists.
Best regards,
IsmaelJuly 30, 2020 at 3:53 pm #1234175This reply has been marked as private.August 3, 2020 at 1:58 am #1234696Hi,
Sorry for the late reply, and thanks for the login, it looks like your layerslider transactions are off a little, for example it looks like both languages are using the same text. Please see the screenshot in Private Content area.Best regards,
MikeAugust 3, 2020 at 9:27 am #1234760This reply has been marked as private.August 3, 2020 at 1:21 pm #1234828Hi,
Sorry, I checked again and it seems my browser had switch the languages. I reviewed the steps to translate the layersliders and disable the “Use slider markup caching” option to display the translated texts.
I keep getting a message that the translation is working on the homepage and to not change anything, are you also getting this?Best regards,
MikeAugust 3, 2020 at 2:47 pm #1234864This reply has been marked as private.August 5, 2020 at 1:42 pm #1235411Hi,
Sorry for the late reply, I have tried to recreate the translations in WPML for the layerslider, but it is not working. I’ve ask the team for suggestions to correct this. Thank you for your patience.Best regards,
MikeAugust 5, 2020 at 2:56 pm #1235440This reply has been marked as private.August 9, 2020 at 1:20 am #1236261Hi,
Sorry that this is taking a while, in the meanwhile perhaps we can make two sliders and display then according to language?
Would you be interested in trying this? Perhaps we can try it on a test page to demonstrate?Best regards,
MikeAugust 9, 2020 at 9:08 am #1236283This reply has been marked as private.August 11, 2020 at 1:57 pm #1236668Hi,
Sorry for the late reply, you are right that the translations should work while using only one slider, I was trying to think of alternatives.
I did put together a script that will perform the translation only on English pages with the slider, please see the test page in the Private Content area. The script is in a code block element on that page for testing so it won’t affect any other pages.(function($){ $(window).load(function(){ setInterval(function () { $('html[lang="en-US"] #layerslider_6 h1').text(function(index, text) { return text.replace('TURBINEN', 'TURBINES'); }); $('html[lang="en-US"] #layerslider_6 h1').text(function(index, text) { return text.replace('FARBSPRITZGERÄTE', 'PAINT SPRAY GUNS'); }); }, 2000); }); })(jQuery);
Perhaps this is an alternative?
Best regards,
MikeAugust 24, 2020 at 8:54 am #1240284Hi Mike,
i’m sorry for the long time, i didn’t answer… vacation etc. :-)
Thank you for the code, that’s really an alternative, everything else didn’t work until now, i think it’s our only chance.
What shall i do now to install the code and where?Thanks a lot,
HansAugust 24, 2020 at 2:02 pm #1240363Hi,
Glad to hear, I added the script to the English homepage in a code block and it is working now.
Please clear your browser cache and check.Best regards,
MikeAugust 24, 2020 at 2:22 pm #1240370i always did it this way:
have a copy for the native language – then translate the layers manually in that copy – and place on the other language that copy. thats all – no plugin needed.August 24, 2020 at 4:06 pm #1240396Thanks Mike, it’s working fine now!
@Guenni007: Duplicating or copying and then translate the silders was not an option, someone told me, but it was my first solution idea also.But never mind, it works now, it’s ok. Now i know a little bit more for the next time!
Thanks again and all the best!
HansAugust 25, 2020 at 5:52 pm #1240725Hi JAZ50,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.