-
AuthorPosts
-
September 24, 2020 at 5:00 pm #1248233
Hi,
Polylang is being used at the website of Klooster Nieuwkerk Goirle for translation NL to EN. I noticed that some parts of the cookie consent messages cannot be translated by Polylang.
I am not sure if this happened since the last updates, but I can remember there have always been issues with the strings of the cookies.
With various topics (ie. https://kriesi.at/support/topic/cant-translate-cookie-consent-message/#post-1210014) I was able to solve some of the issues. However, this solution doesn’t work for the cookie content tab text.
Strangely enough I have another website with exactly the same configuration (WP 5.5.1, Enfold 4.7.6.3 + Child Theme, Polylang PRO 2.8.2 were it does work without any issues.
When I check Polylang text translation tab, I can filter for groups to select Enfold strings. At Annemarie van der Heijden I can see a filter for group enfold-child as where at Klooster Nieuwkerk Goirle I can see only enfold (without -child).
Can you understand what is happening? But more, what can I do to translate the tab text into EN for EN visitors?
Thanks for your advise,
best regards,
MoniqueSeptember 29, 2020 at 4:13 am #1249204Hey Monique,
Thank you for the inquiry.
Did you change the login URL? We couldn’t access the site using the default URL. Please post the new URL in the private field.
The recommendations in the previous thread should work. Just make sure that the css selector corresponds to the class attribute of the element that has to be hidden.
html[lang="nl-NL"] .eng-cookie { display: none !important; }
The css above will hide the eng-cookie element when the language is set to nl-NL.
<span class="eng-cookie">Your text in English</span> <span class="nl-cookie">Your text in Nederlands</span>
Only the nl-cookie element will display.
Best regards,
IsmaelSeptember 29, 2020 at 9:09 am #1249285Hi Ismael,
There is no other login url than the one I gave you. I tried to login with the details I gave you and was able to login.
I checked to make sure that the css selector corresponds to the class attribute of the element that has to be hidden. That was the case. The strange thing is that it does work for the Button Tooltip and for the Tab Label bit not for the Tab Content. If you check the site in EN and NL you can see that the first tab
<span class="nl-cookie">Ja wij gebruiken cookies!</span> <span class="eng-cookie">Yes we use cookies!</span>
is showing the correct label, however the content is shown in both NL and EN (I will shortly leave it there for you to verify.
Please advise.
Best regards,
MoniqueOctober 2, 2020 at 8:07 am #1249986Hi,
Thank you for the update.
We could not access the login page and for some reason it always redirects to 404 page, which is why we asked if you have changed the default login URL. Please check the screenshot below.
Screenshot: https://imgur.com/ev1PVr9
Did you install a security plugin or blacklist IP addresses?
Best regards,
IsmaelOctober 2, 2020 at 8:55 am #1249995Hi Ismael,
No, there is no other login url.
Did you notice the Private Data field in my previous message?Please advise.
Regards,
MoniqueOctober 5, 2020 at 9:15 am #1250540Hey!
Please check the screenshot that we provided above. That is where we are redirected whenever we try to access the wp-admin or wp-login page. The login page is not found or is not accessible and leads to a 404 page. Please check.
Thank you for your patience.
Regards,
IsmaelDecember 8, 2020 at 6:54 pm #1265796Hi Ismael,
In the meantime I found out that using line breaks and other html code like in the tab content did cause the translation issues for the cookie modal popup window. Once I deleted all that it worked following your suggestion.
Can you flag this topic as solved please?
Thanks & best regards,
MoniqueDecember 8, 2020 at 9:03 pm #1265815Hi Monique,
Ok :)
We are closing the thread.
If you need further assistance please let us know in a new one.
Best regards,
Victoria -
AuthorPosts
- The topic ‘Cookie tab content to translatable’ is closed to new replies.