Skip to content

fix: add missing RTL languages (Sindhi, Uyghur, Punjabi Shahmukhi)#959

Open
Vegapunk-debug wants to merge 3 commits intodrawdb-io:mainfrom
Vegapunk-debug:main
Open

fix: add missing RTL languages (Sindhi, Uyghur, Punjabi Shahmukhi)#959
Vegapunk-debug wants to merge 3 commits intodrawdb-io:mainfrom
Vegapunk-debug:main

Conversation

@Vegapunk-debug
Copy link
Contributor

Description

Sindhi (sd), Uyghur (ug), and Punjabi Shahmukhi (pa-PK) all use Arabic-derived scripts that are written right-to-left, but they were missing from the rtlLanguages array in drawdb/src/i18n/utils/rtl.js

This means users browsing in these languages see a left-to-right layout instead of the correct right-to-left one.

Changes

Added "sd", "pa-PK", and "ug" to the rtlLanguages array.

-const rtlLanguages = ["ar", "he", "fa", "ps", "ur"];
+const rtlLanguages = ["ar", "he", "fa", "ps", "ur", "sd", "pa-PK", "ug"];

How to verify

  1. Run the app locally
  2. Go to Settings → Language
  3. Switch to Sindhi, Uyghur, or پنجابی (پاکستان)
  4. Confirm the sidebar and editor layout now renders right-to-left

THANK YOU

@vercel
Copy link

vercel bot commented Mar 25, 2026

@Vegapunk-debug is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant