Skip to content

Provide a widget that injects a function to enable consumers to change locale #257

@agubler

Description

@agubler

Enhancement

Currently it takes a significant amount of boilerplate to inject a function that can be used to change the locale into the widget tree.

It would be helpful if Dojo could provide a customised widget that injects a function that can be to switch locale into an application widget tree.

The widget should be virtual and have no visual output, but provide an API to for the user to render widgets and nodes with access to the update locale function. This would remove the need for a user to register a new injector or create a custom container to get access to the update locale function.

Related to #256

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestnextIssue/Pull Request for the next major version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions