How can I change text direction for Arabic translations?

Hello,

I used Weglot for the translation to Arabic, but when switching the English language to Arabic, the direction of the starting of the words must change from right to left, as opposed to the English language from left to right.

Can you guide me what is the correct way to solve this dilemma and modify the direction of the starting of words from right to left in Arabic?

Abdi-sa.com

Faris,

Thanks,

Hi @Faris_1

As I have checked now it working fine at my end
Please check this screenshot

Let me know if you find any issue

If all things working fine please like and accept the solution.

Thanks

Thanks for your response,

it’s ok right now.

The size of the pictures and location have become somewhat skewed and do not resemble the site of the picture in the English language theme.

Kindly check the below screenshot.

Thanks


,

Hi @Faris_1

Do you want space with between image and content in Arabic language?

Thanks

This is the space or gap that I mean, in english its good but in arabic to close to buttons.

Hello

At the bottom of the store page, these things appeared to me. Can you tell me how to remove them?

Hi @Faris_1

Sorry for late response,
Please use this code for hide the content from footer area

.locale-selectors__container, .footer__column.footer__localization.isolate {
    display: none;
}

also please like the post reply.

Thank you

1 Like

For gap in image and product content in Arbic language Please use below code

@media only screen and (min-width: 750px) {
    html[lang="ar"] .product__info-wrapper.grid__item {
      padding-right: 5rem;
      padding-left: 0;
  }
}

Please like and accept the solution

Thank you

1 Like

Thank you for your continuous support,

I added the code and I got an error message. Can you guide me in the correct way to add it?

FYI, I did not remove any old code, I just added the new code sent from you.

kindly check the attached picture for more clarity.

Thanks,

Thanks a lot brother the issue solved, :ok_hand:

1 Like

Thanks a lot, brother the issue is solved,

Faris__0-1658686477272.png

1 Like