Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I18n Middleware #390

Merged
merged 3 commits into from
Jun 14, 2019
Merged

I18n Middleware #390

merged 3 commits into from
Jun 14, 2019

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