You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Site Editor Templates: Translations strings ignore user settings #55699
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
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
Change the site language to any language, e.g. German
Change the language of the user settings to another language, e.g. english
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.
I tested this issue. I reproduced it with the code from the trunk branch.
I tested it with the site settings set to English and the user settings set to Japanese.
In that case, the site editor's "templates" started with a mix of Japanese and English.
The template names that are translated seem to be only templates added from customTemplates in theme.json of the enabled theme (Twenty Twenty-Three in my environment).
The template names that are translated seem to be only templates added from customTemplates in theme.json of the enabled theme (Twenty Twenty-Three in my environment).
I think the default page template titles are getting translated. Related: #51428
Hi,
This issue has gone 30 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps.
Thanks for helping out.
@USERSATOSHI Thanks for testing! In the video you only show in the editor the Templates data view. Have you tested clicking on Twenty Twenty-Three in the black sidebar?
@USERSATOSHI Thanks for testing! In the video you only show in the editor the Templates data view. Have you tested clicking on Twenty Twenty-Three in the black sidebar?
If I am not mistaken did you mean, the TT3 in the templates black sidebar of video? If so it is the same. If it is something else can you provide the directions for that?
Also, you circle with your cursor "Page:404", but if I'm not mistaken it actually should say only "404" because this is defined as the title of the template: WordPress/twentytwentythree@trunk/theme.json#L4-L27 (I think this is a different issue than this one here though)
I believe this is due #51428 which changed how the titles should be displayed.
If I am not mistaken did you mean, the TT3 in the templates black sidebar of video? If so it is the same. If it is something else can you provide the directions for that?
You're right! I haven't noticed the UX has changed and the template names are not displayed in the black sidebar anymore but in the data view now.
It seems that what @mt8 was commenting, and we observed, was simply a matter of some missing translations. So we can confirm that everything has been sorted at this point.
If anyone happen to find something else, open a new ticket with more testing info, or if it's related to Templates, comment here.
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
Activity
[-]Site Editor Templates: Translations[/-][+]Site Editor Templates: Translations strings ignore user settings[/+]mt8 commentedon Nov 1, 2023
I tested this issue. I reproduced it with the code from the trunk branch.
I tested it with the site settings set to English and the user settings set to Japanese.
In that case, the site editor's "templates" started with a mix of Japanese and English.
mt8 commentedon Nov 1, 2023
The template names that are translated seem to be only templates added from
customTemplatesintheme.jsonof the enabled theme (Twenty Twenty-Three in my environment).https://themes.trac.wordpress.org/browser/twentytwentythree/1.2/theme.json#L4
hanneslsm commentedon Nov 2, 2023
Thanks for testing!
I think the default page template titles are getting translated. Related: #51428
github-actions commentedon Dec 3, 2023
Hi,
This issue has gone 30 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps.
Thanks for helping out.
mrfoxtalbot commentedon Feb 20, 2025
I noticed something similar and opened #69261. I also found a duplicate in #51031 (closed now).
@hanneslsm @mt8, is it possible we're facing the same issue? Thank you!
USERSATOSHI commentedon Jul 28, 2025
Reproduction Report
Description
This report validates whether the issue can be reproduced.
Environment
Actual Results
Additional Notes
Supplemental Artifacts
Screen.Recording.2025-07-28.at.8.41.37.PM.mov
hanneslsm commentedon Jul 28, 2025
@USERSATOSHI Thanks for testing! In the video you only show in the editor the Templates data view. Have you tested clicking on
Twenty Twenty-Threein the black sidebar?Also, you circle with your cursor "Page:404", but if I'm not mistaken it actually should say only "404" because this is defined as the title of the template: https://github.com/WordPress/twentytwentythree/blob/trunk/theme.json#L4-L27 (I think this is a different issue than this one here though)
USERSATOSHI commentedon Jul 28, 2025
If I am not mistaken did you mean, the TT3 in the templates black sidebar of video? If so it is the same. If it is something else can you provide the directions for that?
I believe this is due #51428 which changed how the titles should be displayed.
Regards
cc: @hanneslsm
hanneslsm commentedon Jul 28, 2025
You're right! I haven't noticed the UX has changed and the template names are not displayed in the black sidebar anymore but in the data view now.
Closing the issue as solved. Thanks @USERSATOSHI
SirLouen commentedon Jul 28, 2025
I've posted #70948 to address what @mt8 is commenting and also @USERSATOSHI noticed in today's scrub.
SirLouen commentedon Jul 29, 2025
It seems that what @mt8 was commenting, and we observed, was simply a matter of some missing translations. So we can confirm that everything has been sorted at this point.
If anyone happen to find something else, open a new ticket with more testing info, or if it's related to Templates, comment here.