• Resolved Ayman Hafez

    (@ayman133)


    Hello,

    After updating to the latest version of TranslatePress, I noticed a critical issue with RTL languages (like Arabic) when using the new Language Switcher:

    • The rtl class is no longer added to the <body> element.
    • Because of this, Arabic pages are rendered in LTR instead of RTL, which completely breaks the layout.

    I tested this further and confirmed:

    • The issue only occurs with the new Language Switcher.
    • When I enable the option “Load legacy Language Switcher”, the problem is resolved and the rtl class is correctly applied to <body>.

    So this looks like a bug in the new Language Switcher implementation.

    Could you please look into this and provide a fix as soon as possible? This issue is urgent because all RTL sites are affected and Arabic layouts are completely broken unless we switch back to the legacy Language Switcher.

    Thanks a lot for your quick support!

    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Yes, we’re having the same issue

    Plugin Support Anca

    (@ancavictoria)

    Hello @ayman133 and @bell8723

    Thank you for reporting this new issue to us!

    A new version has been released: TranslatePress – Multilingual 2.10.3 which should resolve this issue.

    After you update to this version, you should be able to enable the new language switcher from TranslatePress Advanced Settings – Language Switcher tab without any issues appearing.

    If you continue to experience problems, please let us know.

    Kind regards,

    Anca

    Thread Starter Ayman Hafez

    (@ayman133)

    Hello Anca,

    I’ve updated to version 2.10.3 and confirmed that the issue with the RTL class is now fully resolved. The new Language Switcher works correctly and RTL pages display as expected.

    Thank you very much for the quick fix and support!

    Best regards

    Plugin Support Anca

    (@ancavictoria)

    Hello @ayman133

    Thank you for the feedback, I’m glad to hear that the problem was resolved using the latest version!

    Kind regards,

    Anca

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

The topic ‘RTL class missing on when using the new Language Switcher’ is closed to new replies.