Model
RtlTextHandler
Magento\Sales\Model\RtlTextHandler
What it does
This class handles Right-to-Left (RTL) text processing for Arabic and Hebrew languages in Magento's Sales module.
Developers use it to detect RTL text and reverse character order when generating PDFs or printed documents, ensuring proper text display for RTL languages in invoices, orders, and shipping documents.
Public Methods
- isRtlText()
- reverseRtlText()