Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Toggle default alignment of text for text only page from LTR to RTL (and vice-versa)

  • 3 majibu
  • 4 wana tatizo hili
  • 312 views
  • Last reply by cor-el

more options

On text only pages, Firefox displays text Left-to-Right (LTR) by default, even for plain text in which the language is read Right-to-Left (RTL). Firefox should either,

1) display content LTR or RTL on the basis of script (e.g., UTF-8 Hebrew text should be aligned RIGHT) 2) provide a user option to toggle which way all the text should be aligned on text only pages (perhaps, via the context menu)

Thank you

On text only pages, Firefox displays text Left-to-Right (LTR) by default, even for plain text in which the language is read Right-to-Left (RTL). Firefox should either, 1) display content LTR or RTL on the basis of script (e.g., UTF-8 Hebrew text should be aligned RIGHT) 2) provide a user option to toggle which way all the text should be aligned on text only pages (perhaps, via the context menu) Thank you

Chosen solution

Try to set bidi.browser.ui to true on the about:config page. This should give a "Switch Page Direction" item in the right-click context menu.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

Read this answer in context 👍 1

All Replies (3)

more options

Suluhisho teule

Try to set bidi.browser.ui to true on the about:config page. This should give a "Switch Page Direction" item in the right-click context menu.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

Thank you! I believe this should be enabled by default (or at least have a checkbox in the settings).

more options

You're welcome.

This bidi setting is only enabled by default if you use a RTL Firefox locale like 'he' or 'ar'.

// Setting this pref to |true| forces Bidi UI menu items and keyboard shortcuts
// to be exposed, and enables the directional caret hook. By default, only
// expose it for bidi-associated system locales.

Modified by cor-el