Include ?_locale=user in JavaScript REST API requests to load user's locale #10811
Labels
Internationalization (i18n)
Issues or PRs related to internationalization efforts
[Package] Core data
/packages/core-data
REST API Interaction
Related to REST API
[Type] Enhancement
A suggestion for improvement.
Milestone
In https://core.trac.wordpress.org/ticket/44758, we're adding support for
?_locale=user
to ensure the user's locale is respected a REST API request is handled.The Gutenberg JavaScript code should include
?_locale=user
in the JavaScript requests it makes to the REST API. One end result will be that taxonomy panels will display correctly localized strings (previously #8449).The text was updated successfully, but these errors were encountered: