Skip to content

Conversation

@agubler
Copy link
Member

@agubler agubler commented Jun 7, 2019

Type: feature

The following has been addressed in the PR:

Description:

An i18n middleware that returns localised messages and formatters. Provides an API to get and set the locale details (locale and rtl).

Note: Does not automatically decorate the top node of a widget with rtl and locale properties as the current mixin does.

Resolves #372

import Map from '../../shim/Map';
import Injector from '../Injector';

export interface LocaleData {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-use the interfaces from the mixin

@agubler agubler changed the title [WIP] I18n Middleware I18n Middleware Jun 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I18n Middleware

2 participants