Skip to content

Include ?_locale=user in JavaScript REST API requests to load user's locale #10811

Closed

Description

@danielbachhuber

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).

Activity

  1. added
    [Type] Enhancement
    Internationalization (i18n)
    REST API Interaction
    [Package] Core data
    on Oct 19, 2018
  2. added this to the 4.2 milestone on Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Internationalization (i18n)REST API Interaction[Package] Core data[Type] Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions