Automatically add direction (dir) attribute to header and userstuff divs on news posts in right-to-left (rtl) languages

Description

  1. Log in as an admin

  2. Admin Posts > Post AO3 News

  3. Fill in a title and content using a right-to-left language

  4. Select appropriate language from the "Choose a language" menu

  5. Press "Post"

What happens

If you haven't added dir="rtl" to all of your HTML – which is terribly annoying – the text won't flow from right to left.

What should happen

For RTL languages, the header div that contains the title and the userstuff div that contains the post content should have dir="rtl" added to them, like we do with FAQs in RTL languages.

Environment

None

Assignee

Alix R

Reporter

Sarken

Roadmap

Admin
Internationalization

Priority

Medium

Affects versions

Fix versions

Components

BackEnd
FrontEnd

Difficulty

Medium

Required Access Level

Admin

Milestone

Internal 0.9
Configure