Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 4 replies, has 0 voices.

Last updated by Kor 3 days, 5 hours ago.

Assisted by: Kor.

Author Posts
December 31, 2024 at 2:35 am #16554835

rabeeK

Background of the issue:
Hello,
The primary language of my website is Arabic, and the theme I am using supports (RTL) direction.. I have added the Syriac language into my website which is also an RTL language with the correct language mapping. However, it is not displaying in the correct direction.! I pressed Ctrl+U to view the HTML code on Syriac home page of the site and it does not include "html dir="rtl" while the Arabic version of my site correctly shows . Before to submitting this ticket, I have done research and reviewed previous tickets on the WPML site regarding similar issues, but no success. Additionally, I have reached out to the theme developer, who confirmed that there are no issues on their end. it seems to be with WPML setting. I really need your help please.
Thank you very much for your time

Symptoms:
The Syriac language is not displaying in the correct RTL direction on the website.

Questions:
Why is the Syriac language not displaying in RTL direction?
How can I fix the WPML settings to display Syriac correctly?

December 31, 2024 at 6:46 am #16555012

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us. Could you please share your Website URL here so that I can check on the language direction issue? I believe this is related to your theme stylings and could be solved with some custom CSS code.

December 31, 2024 at 1:12 pm #16555946

rabeeK

Hi Kor,

Thank you for your reply.

hidden link

December 31, 2024 at 3:26 pm #16556094

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Please insert the custom CSS code below into WP > Appearance > Customize > Additional CSS and see if it works for you.

*:lang(sy-s) {
  direction:rtl!important;
}
January 5, 2025 at 6:24 am #16564120

rabeeK

Hi Kor,

sorry for late reply. I pasted the code you provided but still dont see (html dir="rtl"). would you mind check this for me please?

thank you

Screenshot 2025-01-05 012256.jpg
January 5, 2025 at 4:24 pm #16564609

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

January 8, 2025 at 6:41 am #16572151

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I've checked hidden link and the page looks correct to me. I don't see any issues now. Did you clear your browser cache?