Default language is set on <html lang>, even when the page is not actually translated, causes side effects such as RTL English

Created on 8 January 2016, almost 9 years ago
Updated 3 November 2024, 18 days ago

Problem/Motivation

When I install Drupal 8 in English and set it to any RTL language, CKeditor stucks in LTR mode; The whole editor will appear flipped (and even right ctrl+shift won't change the cursor to the right, nor it would help much if they did).

The editor will appear RTL only if I turn on the "Interface Translation" module. This is problematic since it forces Hebrew translation to my whole management-interface into Hebrew, and I don't want that because I have 1001 reasons to keep my management-interface in English.

The solution for this problem, which I believe should be part of the next release, is to make "Interface translation" redundant for CKeditor RTLness in Drupal 8 --- I'm sure we have only reasons to do so and no reasons not to do so - We shouldn't force people to auto-translate their management-interfaces to languages other than English: It can sometimes be impractical and annoying and not everyone desire that.

Since I only learn to program, and far from being able to fix this now, I kindly ask the core maintainers to take care of this problem --- I can work in the meantime, with an from-start Hebrew installment, but, I can't say if this will be problematic if I'll want to go RTL-English in the future, as I did with Drupal 6&7 until this very day...

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component

language system

Created by

Live updates comments and jobs are added and updated live.
  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • API addition

    Enhances an existing API or introduces a new subsystem. Depending on the size and impact, possibly backportable to earlier major versions.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024