adambard / adambard/learnxinyminutes-docs
RTL languages support.
- Langage dominant
- Markdown
- Étoiles
- 12.3k
- Forks
- 3.7k
- Merge moyen
- 13 h 10 min
- PR mergées (30 j)
- 6
Description
An example for the Arabic language (https://learnxinyminutes.com/ar/html/):
- The paragraph text before the code block is displayed left-to-right (LTR) instead of right-to-left (RTL).
- Mixed-direction content (Arabic sentences containing English words/terms) becomes visually jumbled, with punctuation and word order appearing incorrect.
Code blocks render as expected; the problem is limited to the non-code paragraph section in the Arabic version.
### Expected behavior
- All Arabic paragraphs render in RTL with correct alignment and ordering.
- Inline English words remain LTR while the surrounding Arabic text remains RTL, without breaking punctuation or layout.
**Actual behavior**
- Arabic paragraphs render as LTR and mixed Arabic/English text appears messy and hard to read.
**Notes**
- This occurs specifically in the Arabic localized content (pre–code block text).
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start by reproducing the issue on https://learnxinyminutes.com/ar/html/ and compare non-code Arabic paragraphs with code blocks. Inspect the generated page and the templates or styles that control text direction for localized content. Done means Arabic paragraphs render RTL with mixed English terms preserved LTR, while code blocks continue to render as before.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- css, html, markdown
- Domaine
- frontend, internationalization, localization
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 42/100