-
``` javascript
var m = new MessageFormat("en");
m.compile("something")();
// "something"
m.compile("# something")();
// ReferenceError: k_undefined is not defined
m.compile("\\# something")(); // esca…
Stuk updated
10 years ago
-
Translation messages, number formatting and date formatting needs to be replaced with the [intl classes](http://www.php.net/manual/en/intl.examples.basic.php) as discussed here:
https://groups.googl…
-
I did a search for "icu messageformat" and saw this package: https://npmjs.org/package/messageformat
Was that package evaluated before this was written?
ericf updated
10 years ago
-
When processing tokens, what happens to unmatched ones? Also what happens to tokens like `${foo bar}` (garbage)?
ericf updated
10 years ago
-
Hi all,
So I've seen key-pair values across the various frameworks and thought it would be ok but recently had a look at gettext...
## Features | Topics | Ideas
What do you think about the following…
-
Hi,
I'd like to use handlebars variables within the i18n template string;
```
{ "hello", "Hello {{name}}! Welcome back." }
```
To make this possible, you'd have to compile the Handlebar template tw…
-
As dynamic-i18n should be minimized as much as possible, forking ICU MessageFormat to helpers/MessageFormat for implementors to use is better.
See: http://icu-project.org/apiref/icu4j/com/ibm/icu/tex…