-
Ok,
``` js
// 1 apple
__n('%s apple', '%s apples', 1);
// 3 apples
__n('%s apple', '%s apples', 3);
```
For english languge it's awesome, but for (as example) russian it's wrong. I mean:
```
{
…
-
ICU4J uses this: http://userguide.icu-project.org/locale/resources
MessageFormat appears to use JSON.
Is there any way to consolidate the two so I can share resources between client and server code?…
-
**UPDATED: 2015-11-11**
**React Intl v2 has been in development for several months and the current release is [`v2.0.0-beta-1`](https://github.com/yahoo/react-intl/releases) — the first v2 beta relea…
ericf updated
8 years ago
-
hello, is there an automated way to generate translation tables in multiple languages when we write our components?
So when we are done writing our components with formatJS syntax, we can type a comm…
-
Let's say I have a message `"{name} works for company..."` on a user creation form. When the user hasn't entered any name yet, the result will be `"undefined works for company"`. Now I could give the …
-
If you are open to changing your API slightly (approximating to [Strawman Draft](http://wiki.ecmascript.org/doku.php?id=globalization:messageformatting))'s, we could have something like the below.
``…
-
PR: #321
Globalize.formatMessage() should support Message Format as in ICU.
``` javascript
Globalize.loadMessages({
"en": {
like: "{count, plural, offset:1" +
" =0 {Be the first to lik…
-
I recently updated to the latest globalize 1.0.0-alpha.14 and noticed that Globalize.loadTranslations() and Globalize.translate() are no longer present and have been changed in the documentation as we…
-
The about dialog box of the SARL product does not describe SARL but the Eclipse platform.
It should be the description of SARL.
-
Is Globalize.localize already able to handle inflections or how would one devise such an extension?
``` javascript
//Pseudo example defining 3 forms of test
// Map of messages used by .localize()
…