Site logo

[Resolved] dir=”rtl” gets added on homepage

Home Forums Support [Resolved] dir=”rtl” gets added on homepage

Home Forums Support dir=”rtl” gets added on homepage

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2232681
    Randy

    Hello,
    I am using the GTranslate plugin and it works fine for the most part to translate pages.

    The one issue is that when I include an RTL language such as Arabic, for some strange reason JUST ON THE HOMEPAGE everything appears to flow rtl even when other languages such as English are selected.

    I notice on just the homepage that this gets added to my sourcecode: <html dir=”rtl” lang=”en-US”>

    I checked and GTranslate support told me that they don’t do anything that would change my original website content.

    As soon as I disable the Arabic language, then the homepage appears correctly.

    website shown below
    Thanks!

    #2232687
    Randy

    Must have been a caching issue…. seems ok now

    #2232689
    Ying
    Staff
    Customer Support

    Glad it’s working now 🙂

    #2232872
    Joshua

    @randy

    This is not just a random occurence, you will constantly get this with gtranslate.io with arabic, persian, urudu and hebrew with caching. It does take awhile to occur, its not 100% of the time, but it does affect it the longer the caches seem to occur. I am on the business plan of gtranslate.io.

    Something is not right with the RTL support with generatepress, I have tried for months to get it to work, best I can do is force those languages to be LTR, do not use sub-directory and use sub-domain, or as I got annoyed remove those four off my site.

    I know of another person who has experienced the same, but sadly you will get contact your theme plugin developer (Ahem its a generatepress issue since the plugin uses the themes RTL) or your caching provider.

    FYI, all wordpress plugins affect
    Nginx fast cgi server cache affect
    Cloudflare APO affect.

    Guess everything is at fault but generatepress. i do not expect a fix.

    one area very disapointed with generatepress in is rtl, rock solid in every other category.

    #2595393
    Steven

    We’re wondering if any further info is available about this. We seem to be having a similar issue where various pages have the dir=”rtl” attribute added to the <html> tag. We haven’t seen any consistency other than it never shows up when logged in to the WordPress Admin section (i.e. caching is disabled). It only shows when accessing the site anonymously and only for select pages. If we clear all of our caches, the issue goes away. We started using GTranslate in the past couple of months so are suspicious there might be something going on with that plugin. But it’s happening so rarely it’s tough to find a pattern.

    #2595528
    Fernando
    Customer Support

    Hi Steven,

    Can you open a new topic and share the link to a page where this issue occurs?

    #2596973
    Steven

    Sure thing @Fernado.

    #2597163
    Fernando
    Customer Support

    Thank you, Steven!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.