Skip to content

Block editor canvas should use site language and language direction #52777

@OmerQadirFM

Description

@OmerQadirFM

Description

when I'm making a Kurdish or Arabic website, my website shows from LTR in Gutenberg interface but when I visit my website it shows RTL, My user profile language is English and my website language is Kurdish, it is supposed to always shows RTL.

Step-by-step reproduction instructions

in Gutenberg interface
Change user profile language to English
Change website language to Kurdish or Arabic
then go to Appearance > Editor and you will see the issue

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress: 6.4-alpha-56272
  • PHP: 8.1.9
  • Server: nginx/1.16.0
  • Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.1.9)
  • Browser: Edge 114.0.1823.86 (Windows 10/11)
  • Theme: Twenty Twenty-Three 1.1
  • MU-Plugins: None activated
  • Plugins:
    • WordPress Beta Tester 3.5.2

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Internationalization (i18n)Issues or PRs related to internationalization efforts[Type] BugAn existing feature does not function as intendedl10nLocalization and translations best practices

    Type

    No type

    Projects

    Status

    🦵 Punted to 7.0

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions