Skip to content

Site Editor Templates: Translations strings ignore user settings #55699

@hanneslsm

Description

@hanneslsm

Description

The global site language of one of my site is German.
My user has english as its default language.
The template names are translated to German, even though I'd expect it to be english.

Step-by-step reproduction instructions

  1. Change the site language to any language, e.g. German
  2. Change the language of the user settings to another language, e.g. english
  3. See two languages mixed in the site editor > templates

Screenshots, screen recording, code snippet

Screen.Recording.2023-10-30.at.13.37.13.mov

Environment info

  • WP 6.3.2
  • GB 16.9.0

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

No

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

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Internationalization (i18n)Issues or PRs related to internationalization efforts[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Status] StaleGives the original author opportunity to update before closing. Can be reopened as needed.[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions