Your data layer is sending a template string to the client instead of the evaluated link.
Requires modern versions with Middle Eastern type engines enabled.
is a highly popular automation script designed for Adobe After Effects to fix Right-to-Left (RTL) text rendering and letter-linking issues for Arabic, Persian, and Farsi languages.
This article explores what it takes to properly work with Arabic in React. We will cover the foundational requirements of support, font handling and shaping, proper text alignment, mixed-language content, and the crucial task of managing links and navigation within an Arabic context. By the end, you will have a robust understanding of how to create seamless, professional bilingual web applications.
Thanks
The Arabic Text.jsx component provides several props for customizing its behavior, including:
https://github.com/arabic-text-jsx/arabic-text-jsx
const App = () => return ( <div> <ArabicText href="https://example.com"> نص عربي </ArabicText> <ArabicText> نص عربي بدون لينك </ArabicText> </div> ); ;
The single most important attribute for Arabic text is dir , which can be set to "rtl" (right‑to‑left), "ltr" (left‑to‑right), or "auto" . In React, you can attach it directly to the root element of your app: Arabic Text.jsx --39-LINK--39-
return ( <div> <ArabicText>arabicText</ArabicText> </div> ); ;
The "auto" value ensures that when the user starts typing Arabic, the cursor moves to the right side, but if they type English, it switches back to left‑to‑right. This prevents the common issue of cursor jumping to the wrong end of the input field.
The script will create a new text layer, or paste the corrected text into your selected layer, ensuring perfect connectivity, as demonstrated in . Best Practices for Arabic Typography in AE
Arabic is a cursive script where letters change shape based on their position (initial, medial, final, or isolated). Improper rendering leaves letters in their isolated forms. Your data layer is sending a template string
For bilingual forms, libraries like react‑dual‑field provide ready‑made components that show both English and Arabic labels and handle direction switching seamlessly.
"welcome": "Welcome", "greeting": "Hello, name!"
Without this script, After Effects often displays Arabic characters in reverse order and as isolated, unlinked glyphs. Key Features and Benefits