The Auto Language Direction Detector is one smart PHP class that can be used in multiple language sites to detect optimal text direction / adjustment of any language (or mixed language) in the world – right to left (RTL as Arabic, Hebrew, Persian, etc.) or left to right (LTR) to get the text of the website to look in the right direction / alignment. It even supports RTL numbers (Indian and Arabic) and all characters in the world, and it's smart as Facebook text direction and alignment.
Why use this script?
On many websites, the text looks ugly because they support multilingual text, and they do not provide more text directions especially when the sentence ends with a punctuation mark (see the example of the demo page), which looks ugly in this way.
When making a multilingual text in the HTML address of your site, use the text to be elegant and the direction / customization should be dynamic. The RTL language should appear automatically in RTL / Text-align style, and the LTR language should be displayed automatically in LTR direction / text style within the same page.
Smart direction detection of any text (LTR or RTL)
So easy to use
Smart algorithm to detect the direction of a mixed language text
Supports all world languages
Very fast execution
Complete PDF documentation
Help and Support
We will be very happy to provide you with the necessary help / support. Our response is very fast. If you need any customization, never hesitate to contact us.