• Resolved musfir1

    (@musfir1)


    I am using the TranslatePress plugin to translate my website from Arabic, the default language, to English. I have an issue with translating tables: the text inside the table does not switch from right-to-left (RTL) to left-to-right (LTR) as it should when translating from Arabic to English. Although the text is correctly translated to English, and the table’s design direction changes correctly to LTR, the text itself remains in the wrong direction inside the table. Is there a solution to this problem?

    • This topic was modified 2 weeks, 2 days ago by musfir1.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    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. In your case, be sure there is no alignment set for the content from table cells.
    ?We have documentation on how to properly manage the translations of RTL languages, https://translatepress.com/docs/developers/translation-of-rtl-languages/.

    Best Regards,

    Thread Starter musfir1

    (@musfir1)

    Thank you ALEX for your prompt and insightful response to my query.

    You were absolutely right—the issue with text alignment inside the tables during translation was indeed caused by a predefined text alignment setting in the table plugin’s configuration. After removing the alignment setting, the text inside the tables now correctly aligns to the left for LTR pages and remains aligned to the right for RTL pages, as expected.

    I truly appreciate your guidance, which helped me identify and resolve the problem. Thank you once again for your support.

    • This reply was modified 1 week, 6 days ago by musfir1.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.