• Resolved ben_muab

    (@ben_muab)


    Dear Support Team, & All,

    Before posting I tried to search for a similar issue or the documentation and couldn’t find a similar ticket. (I hope not to be mistaken).

    So, I have an English website and I translated it to Arabic. Now, when I select Arabic language, the menu and the links are translated successfully and are redirecting me successfully as well to the translated pages in Arabic.

    But for the Links from the Button (Call-To-Action Buttons). It’s keep redirecting me to English language.

    Any idea?

    Thanks a lot,
    Osama

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter ben_muab

    (@ben_muab)

    Forgot to mention that I’m using a theme depending on: “Otter Page Builder”. Thanks!

    Thread Starter ben_muab

    (@ben_muab)

    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?

    Thread Starter ben_muab

    (@ben_muab)

    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

    Thread Starter ben_muab

    (@ben_muab)

    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.

    Thread Starter ben_muab

    (@ben_muab)

    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/

    Thread Starter ben_muab

    (@ben_muab)

    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>

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.