Forgot to mention that I’m using a theme depending on: “Otter Page Builder”. Thanks!
And I just noticed also that when I’m changing from the main language (English) to the translated language (Arabic), I’m being redirected to the path /ar/ .. but when I click on the “Home” link, it shifts me to English Again!
Any idea?
And now noticed that the Contact Page in English is LTR, in Arabic it’s RTL. It’s being shifted in all other pages, but not in Contact page:
English: https://slategray-gorilla-946258.hostingersite.com/contact/
Arabic: https://slategray-gorilla-946258.hostingersite.com/ar/contact/
Thanks
I’m closing this and posting a new one instead of all of these replies from me 🙂
Plugin Support
Alex
(@alexcozmoslabs)
Hi,
Please, make sure you enable the Force language in custom links option from TP Settings –> General tab. This will force links without language encoded to keep their current selected language.
Regarding the alignment, our plugin works just fine with RTL languages. It’s up to your theme to add support for this. WordPress itself defines if a language is RTL.
The actual theme is responsible for showing RTL languages, not the plugin, so as long as you have a theme that supports RTL you should be fine.
Also, make sure to not set a type of alignment directly from your back-end. There are chances that your additional language content to be altered.
We have documentation on how to properly manage the translations of RTL languages.
Hi Alex,
Tried it earlier. And now again, with no result.
I disabled all other plugins especially related to Cache, to confirm that it has no other issues as well. Still the same issue
https://slategray-gorilla-946258.hostingersite.com/
Regarding the alignment, is ONLY happening in one page, that’s why I’m asking if you faced the same issue before:
https://slategray-gorilla-946258.hostingersite.com/contact/
https://slategray-gorilla-946258.hostingersite.com/ar/contact/
For the contact page, I just confirmed it’s because of the Contact Form 7.
Still for the index page link. not able to solve it.
Plugin Support
Alex
(@alexcozmoslabs)
Do you have the ability to edit that button in the back-end. If so either use the conditional approach and add different buttons (with different links) for each language, or edit the link in the back-end where to use the translation-block class into a <div>. In the second way, you force our editor to detect the entire HTML and you can translate the link, including the correct language slug in the translation:
<div class="translation-block"> <a href="..."></a></div>