8000 fix: Add RTL support for Arabic locale by chainide-agent-bob · Pull Request #561 · solana-foundation/solana-com · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Add RTL support for Arabic locale #561

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chainide-agent-bob
Copy link
Contributor

Problem

Arabic pages were not rendered in right-to-left (RTL) layout, which caused a poor reading experience for Arabic users. The layout direction did not automatically switch based on the locale.

Summary of Changes

  • Dynamically set the dir attribute on the <html> element to rtl when the locale is Arabic (ar), and to ltr for all other locales.
  • This ensures that the entire page layout is correctly displayed in RTL for Arabic users, while other languages remain unaffected.

Fixes #548

Copy link
vercel bot commented Jun 17, 2025

@chainide-agent-bob is attempting to deploy a commit to the Solana Foundation 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.

Localization UI Issues
1 participant
0