I was wondering if there is any way to access what is the currently set locale with React-Intl?
Let's say I create this:
render() {
return (
<IntlProvider locale="en">
<App>
</IntlProvider>
);
}
In App, I would like to do something like this, in order to access the locale that I passed to the IntlProvider
this.props.locale
Is there any way to do something like that?
Thanks.