Tothiq RTL Ready

外掛說明

WordPress switches a page to right-to-left. It does not fix what is written inside it. Phone numbers show backwards, prices put the currency on the wrong side, arrows point the wrong way and English is left on Arabic pages.

Tothiq RTL Ready fixes these as each page is shown, and a health report tells you what is left.

Fixed automatically, on every Arabic, Persian and Urdu page

  • Phone numbers kept in order: +965 2222 3333, never 3333 2222 965+.
  • Time ranges read from the right, like the sentence around them.
  • English with numbers (WordPress 6.8, iPhone 15) kept in order inside right-to-left sentences.
  • WooCommerce prices with the currency after the number.
  • One digit style across the site, per language: Latin, Arabic-Indic or Persian.
  • Arrows on buttons and links point forward; Swiper sliders start on the right.
  • “Left” alignment copied from English pages follows the language.
  • Common English left by themes and shops (“Read more”, “Add to cart”, “Search”) replaced with Arabic, Persian or Urdu.
  • Optional clean-up: tashkeel in headings or everywhere, stretched letters (kashida), Arabic punctuation.

Fonts made for each script, served from your site

Almarai, Vazirmatn and Noto Nastaliq Urdu are included. They only draw Arabic-script letters, so English words keep your theme’s font. No request to a font service.

Health report

A score out of 100 and a list of what is wrong on your right-to-left pages: numbers out of order, pages with no translation, English left on translated pages, menus not translated, missing language tags, unreadable Arabic web addresses and more. Each item says whether it is already fixed or needs you.

On-page checker

Administrators get an RTL Ready item in the admin bar that lists what was fixed on the page being viewed, with a Before / After switch. Visitors never see it.

Your content is never changed

Every fix is applied as the page is sent. Nothing is written to your posts or database: switch a fix off, or deactivate the plugin, and every page is exactly as it was.

Works with the block editor, the Classic editor, Elementor, WooCommerce, Polylang and WPML, and on sites in one language only.

RTL Ready Pro adds a weekly check with an emailed report, drafts for missing translations, readable Arabic web addresses with redirects, and your own phrase list: rtlready.com.

Credits

Includes the fonts Almarai, Vazirmatn and Noto Nastaliq Urdu, under the SIL Open Font License 1.1 (licences in assets/fonts).

螢幕擷圖

安裝方式

  1. Install from Plugins Add New (search for “RTL Ready”) and activate.
  2. Open RTL Ready Health report and click Check my site.
  3. The fixes are already on. Adjust them under RTL Ready Fixes and Typography.

常見問題集

Does it change my posts or database?

No. Fixes are applied to each page as it is sent to the visitor. Deactivate the plugin and everything is as it was.

Will it slow my site down?

It only runs on pages in Arabic, Persian or Urdu, in one pass over the page, and adds one small style block. With a caching plugin the fixed page is cached like any other.

Which languages does it cover?

Arabic, Persian and Urdu. The page language comes from Polylang, WPML or the site language.

Can I keep a part of the page untouched?

Add data-rtl-ready="off" to any element. Code, preformatted text and anything marked as Quran text are always left as they are.

How does the health check see my pages?

It opens your own pages from your server with a private key so it sees them without the fixes. Nothing is sent anywhere else.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Tothiq RTL Ready〉的開發相關工作。

參與者

將〈Tothiq RTL Ready〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

0.1.6

  • First release on WordPress.org.