Arabic text alignment is not behave right to left of imported feed.

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

Tagged: 

Viewing 7 reply threads
  • Author
    Posts
    • #4035


      developer kader
      Participant
      Post count: 34

      Hello there, I faced arabic text alignment issue like_ i created a feed from https://arabnewswire.com/  . there have multiple ARABIC post , when I import the feed via your echo plugin then the arabic post got as english text alignment(left to right).

      I need this alignment: https://arabnewswire.com/%d8%a7%d9%84%d8%aa%d9%86%d9%82%d9%84-%d8%a7%d9%84%d9%83%d9%87%d8%b1%d8%a8%d8%a7%d8%a6%d9%8a-%d9%81%d9%8a-%d8%a7%d9%84%d9%85%d8%b3%d8%aa%d9%82%d8%a8%d9%84-%d8%a7%d9%84%d9%87%d9%86%d8%af-%d9%88%d8%a3/

      after import to my website. It got : https://gccwire.com/neutrino-energy-%d9%86%d9%8a%d9%88%d8%aa%d8%b1%d9%8a%d9%86%d9%88-%d9%81%d9%88%d9%84%d8%aa%d9%8a%d9%83-%d8%b9%d9%86%d8%af%d9%85%d8%a7-%d9%84%d8%a7-%d8%aa%d8%ad%d8%aa%d8%a7%d8%ac-%d8%a7%d9%84%d8%ae/

      otherwise, I am using JNEWS THEME & ELEMENTOR PAGE BUILDER.

      Do you have any solution for this issue????

    • #4036


      Szabi – CodeRevolution
      Keymaster
      Post count: 4556

      Hello,

      You need to enable RTL support for your WordPress site. Please check details on how to do this, here: https://www.youtube.com/watch?v=1qxuBsQd74I

      Regards,

      Szabi – CodeRevolution.

    • #4037


      developer kader
      Participant
      Post count: 34

      hello there, I tried to fix it by the suggested video. But after apply this method, RTL support work globally like ARABIC and ENGLISH both of them. I need RTL support only for ARABIC post not for ENGLISH.

      I have some post in English and some post in Arabic.  I need RTL support for only ARABIC content.

      Then what Should I need to fix it???

      Help me please

    • #4038


      Szabi – CodeRevolution
      Keymaster
      Post count: 4556

      In this case, please go to importing rule settings for the rules which create the Arabic Posts in the ‘RSS to Post Rules’ plugin menu -> click ‘Settings’ for the rules you wish to edit and add the below content in the ‘Generated Post Content’ settings field:

       

      <div dir=”rtl”>%%item_content%%</div>

       

      Afterwards, please save settings and import new posts.

      Regards.

    • #4039


      developer kader
      Participant
      Post count: 34

      Please look the image. I put your code on exact field… see in image.But not WORK…

      Otherwise, please at first try to understand my exact problem:

      this is my feed link: https://cdn.mysitemapgenerator.com/shareapi/rss/0211356326

      this feed contains both language post(ENGLISH & ARAB) as a example- 6 post in english and 4 post in ARABIC.

      Now I want- If I import the feed then the RTL support works only 4post in ARABIC . and 6post in english get the default alignment LTR/as english alignment.

      Attachments:
      You must be logged in to view attached files.
    • #4041


      Szabi – CodeRevolution
      Keymaster
      Post count: 4556

      I understand now, sorry for missing this detail.

      To automatically change the text alignment based on the language of posts is possible only using a plugin which will be implemented specifically for this purpose.

      This will not be possible using other methods.

      The other solution is to import contents from RSS feeds which contain only Arabic and separate only English feeds.

      Regards.

    • #4042


      developer kader
      Participant
      Post count: 34

      ???To automatically change the text alignment based on the language of posts is possible only using a plugin which will be implemented specifically for this purpose.???

      1.Can you suggest me these type of some plugin. Which automatically change the alignment based on language???

      2. Please tell how to create a separate feed only for ENGLISH or arabic from this website: http://www.arabnewswire.com

       

    • #4043


      Szabi – CodeRevolution
      Keymaster
      Post count: 4556

      1. I am not aware of the existence of such a plugin, a custom plugin needs to be implemented for this purpose.

      2. This is possible only if you find an RSS feed for the source website which contains only English posts and another RSS feed which contains only Arabic posts.

      Regards.

Viewing 7 reply threads

The topic ‘Arabic text alignment is not behave right to left of imported feed.’ is closed to new replies.