Skip to content
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

Request for Right-to-Left (RTL) Support in Frappe Builder #138

Open
alaahariri opened this issue Apr 18, 2024 · 0 comments
Open

Request for Right-to-Left (RTL) Support in Frappe Builder #138

alaahariri opened this issue Apr 18, 2024 · 0 comments

Comments

@alaahariri
Copy link

Overview:

To enhance its accessibility and usability for a global audience, I propose the integration of Right-to-Left (RTL) localization and internationalization support.

Rationale:

The addition of RTL support is essential for catering to languages such as Arabic, Hebrew, and Persian. This feature will not only expand the reach of Frappe Builder to new markets but also enhance the user experience for a significant segment of the global population.

Proposed Features for Frappe Builder:

  1. Automatic RTL Adjustment: Implement automatic style adjustments for RTL languages, affecting text alignment, direction, and positioning of UI elements.
  2. Language-Specific Stylesheets: Introduce RTL-specific stylesheets that can be automatically applied based on the browsing language.
  3. Page Mapping: When a user switches languages, the system should automatically direct them to the corresponding page in the new language, maintaining the context and enhancing navigability.
  4. Automatic Attribute Adjustment: Frappe Builder should automatically add the dir="rtl" attribute to relevant HTML tags (like html, body) whenever a user selects an RTL language. This will adjust the text direction and layout alignment without requiring manual HTML modifications.

SEO Considerations:

Supporting multiple languages and writing directions can significantly impact SEO. Properly implemented RTL support should include:

  1. Hreflang Tags: Use 'hreflang' tags for multilingual sites to help search engines understand the language and geographical targeting of a page.
  2. Language-Specific URLs: Implement language-specific URLs for RTL pages to enhance local SEO and improve user experience.
  3. Implementing SEO-friendly URLs that include post titles in the local language.
  4. Use link rel="canonical" tags to specify the primary version of content for search engines to avoid duplicate content issues.
  5. Implement link rel="alternate" hreflang="x" tags to guide search engines on language-specific versions of the page. This is crucial for multilingual websites to perform well in local search results.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Feature Request
Development

No branches or pull requests

1 participant