Right to left language site (dir="rtl" attribute) | Community
Skip to main content
Level 4
Oct 16, 2015 2:27 AM UTC
Solved

Right to left language site (dir="rtl" attribute)

Hi all,

I have a requirement to create Right to Left language site (Arabic). Just wondering which is the best location to add dir="rtl" attribute ? Is it the beginning <html> tag (<html dir="rtl">) or should I add this tag in each component <div> (<div dir="rtl">). Is there any harm in adding it at page <html> level rather than individual component level. If a site is in Right To Left then all the section of site should be "Right to Left" - correct ? So in this case then it make sense to add at <html> tag level instead of individual component level.

Let me know if you have any prior experience on this ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
MshajiAccepted solution
New Participant
Oct 16, 2015 2:27 AM UTC

It is not only html tag, you might have to consider other assets like css, dialogs, rich text editor when using rtl.

Following adobe blog provides check list for using rtl

http://blogs.adobe.com/experiencedelivers/experience-management/rtl-adobe-cq5-aem/

2 replies

translationco
New Participant
Oct 4, 2017 5:49 PM UTC

Hi

Translate
MshajiAccepted solution
New Participant
Oct 16, 2015 2:27 AM UTC

It is not only html tag, you might have to consider other assets like css, dialogs, rich text editor when using rtl.

Following adobe blog provides check list for using rtl

http://blogs.adobe.com/experiencedelivers/experience-management/rtl-adobe-cq5-aem/

Translate