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
Only few locales with Browserify #103
Comments
Can you provide some details on what specifically isn't working? Also you need to make sure you're |
Hi! I have the same problem while using react-into with browserify and trying to add some locales. I investigated the problem and understood that while using react-intl with browserify it doesn't provide |
@gitim We have some docs on this tucked away in the release notes: s/ReactIntlMixin/ReactIntl/ |
Didn't know about this, thank you, will try it. |
It worked in 1.0.2 when locale used |
I'm confused. I said above to rename what's in the 1.0.2 release post to |
Oh, sorry, did't understand you, thanks @ericf. |
I used IRC-replace style shorthand because I was on my phone 😄 |
A note here for those who also find this issue: When you test this, don't use normal date formatting, as it will know the names of the months and such in all locales, I think because it's part of the intl system. So it seems as if all locales are bundled, but they are not. Instead, use something like I used:
which displays "yesterday" in the appropriate language. |
See: #162 |
* fix(intl-messageformat-parser): Escape double-apostrophes to a single apostrophe * rm unnecessary rule
Hi, thanks for this library!
I don't understand, how use locales with Browserify. For example, I include ReactIntl in app.js as
and set locales in Handler (I use react-router)
Then I include ru locale as
But it doesn't working. Why?
The text was updated successfully, but these errors were encountered: