RTL: remaining tasks
See original GitHub issueMostly around cheatsheet automation.
Questions
- Move cheatsheet from examples to main docs?
- Allow main docs to be passed a
direction
in the front matter and have that automatically toggle LTR to RTL CSS inclusion - The above items should resolve most of this, but… De-dupe the RTL CSS once moved
- Convert page content to Markdown
- And https://github.com/twbs/bootstrap/pull/30980#issuecomment-737096962 :
- Does our doc layout need to be converted to RTL too?
- Or do we only embed RTL content in our current LTR doc layout?
- What about translations, if we manage to automate cheatsheet content?
- Allow main docs to be passed a
- consider to show utilities in the cheatsheet?
Need help
- check and update Arabic translations in RTL cheatsheet and RTL examples → in progress in #33097
- new example showing bidi content, as asked by @arafalov (comment)
- That’s a valid use case for
<bdi>
and<bdo>
, I guess: HTML5Doctor.com content and MDN docs forbdi
andbdo
- That’s a valid use case for
- Allow JS components to work in both directions in the same page? See #33076 #32446 #32913
Docs improvements
- maybe mention specific how-tos? → #32771
- wrapping outputs with
.ltr
/.rtl
: https://github.com/twbs/bootstrap/issues/32666#issuecomment-753880015 - rename / alias utilities: https://github.com/twbs/bootstrap/discussions/32402#discussioncomment-194697 (probably in our “Customize / Sass” or “Utilities / API” page?)
- wrapping outputs with
- mention in our migration that if you had a RTL page styled using v4, you’d need to rename
.ml-*
to.me-*
and.mr-*
to.ms-*
—basically the opposite of LTR. → #32771 - Maybe explain more explicitly the single Sass souce and the need to run RTLCSS, in a custom build? See #32816 for example.
- Also need to make it obvious that RTL and LTR are separate files that cannot be used at the same time, maybe in our “Approach” section?
- RTL content in LTR docs require a
<bdi dir="rtl">
wrapper? See @AqeelAT’s comment above.
Chore
- Add/enhance RTL JS tests: ping @twbs/js-review for help on this ❤️
- for carousel directions → Done in #32436
- for dropdowns / tooltips / popovers position, and for modals padding → Done in #30980
Personal note, as I’m getting exhausted by all those naming/aliasing/restoring utilities discussions:
- fork v5 personally and simply add some
$utilities
override to provide a solid and oldish v5 using v4 utilities (and dropping RTL support).
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:31 (17 by maintainers)
Top Results From Across the Web
RTL Signoff - Semiconductor Engineering
Register Transfer Level (RTL) Signoff is a series of well-defined requirements that must be met during the RTL phase of IC design and...
Read more >Right-to-left (RTL) languages - styling considerations
When a website is viewed in one of these languages, content is displayed in a mirrored layout. Some styles need to be optimised...
Read more >[UI][RTL] Improve user menu position [#3265597] | Drupal.org
Remaining tasks N/A User interface changes The user menu has right position on the RTL mode. API changes N/A Data model changes N/A....
Read more >T32630 Math expressions in RTL wikis should have LTR ...
In wikis with RTL (right-to-left) content, if a line only contains a <math> tag, it should be ... bzimport raised the priority of...
Read more >Don't be backwards. A quick guide to making sure your app…
Sentences in the RTL script read from right-to-left. LTR script mixed into RTL script is still shown LTR (such as numbers). · Control...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@omoridi And this is exactly what it does: ensure
direction
isltr
even in RTL file. Could you please read our docs, RTLCSS’ one and check our RTL cheatsheet example? That way you’ll see what’s the real result.@SafaAlfulaij Would you mind opening a dedicated issue, please? This one is more docs related now. Thanks!