3.2.0 • Published 7 months ago
@code-202/intl v3.2.0
react-mobx-intl
Adaptation of react-intl with dynamic translations resources
Store injection
Launcher and Dialog components use the @code-202/kernel to get the store service with code 'intl-locale' Add it in your container like this
const localeStore: LocaleStore = new LocaleStore(['fr'])
localeStore.addCatalog(new RemoteCatalog('fr', kernel.manifest.get('translations/app.fr.json', true), ['app']))
kernel.container.onInit(() => {
localeStore.changeLocale('fr').catch((err) => console.error(err))
})
kernel.container.add('intl.locale', localeStore)
3.2.0
7 months ago
3.1.0
2 years ago
3.0.1
2 years ago
3.0.0
3 years ago
2.3.2
3 years ago
2.3.1
3 years ago
2.3.0
3 years ago
2.2.7
3 years ago
2.2.6
3 years ago
2.2.5
3 years ago
2.2.4
3 years ago
2.2.3
3 years ago
2.2.2
3 years ago
2.2.1
3 years ago
2.2.0
3 years ago
2.1.0
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.17.0
3 years ago