Jed icon indicating copy to clipboard operation
Jed copied to clipboard

Gettext Style i18n for Modern JavaScript Apps

Results 16 Jed issues
Sort by recently updated
recently updated
newest added

There are two examples of plural forms on [this page](http://messageformat.github.io/Jed/) 1. `"%d key" : [ "%d key", "%d keys" ],` 2. `"test singular": ["test plural", "test_1 singular", "test_1 plural"],` These...

Hi, How does one generate `.pot` from the source code using Jed? I assume that gettext won't be able to parse the calls to Jed since the syntax is too...

The repository url in the package.json contains a username, which causes problems in some browsers. https://github.com/messageformat/Jed/blob/351c47d5c57c5c81e418414c53ca84075c518edb/package.json#L8 By opening this link in firefox the browser attempts to login to github with...

fixes https://github.com/messageformat/Jed/issues/56

I wrote a small implementation of the gettext concept recently and wanted to provide two new methods to the community. I was writing these in React Native, as shown below,...

Currently, Jed uses [sprintf 0.7](https://github.com/messageformat/Jed/blob/v0.5.5/jed.js#L314) which is more than [four years old](https://github.com/alexei/sprintf.js/releases) and contains several bugs which are meanwhile fixed (for example [huh?](https://github.com/alexei/sprintf.js/issues/4)). @SlexAxton do you think, this could be...

I was bitten by `[sprintf] huh?`, this should make debugging for other people much easier.

is it possible change locale_data dinamically when JED object is already created?

Currently one cannot do: ``` js const {gettext} = i18n gettext('Hello, World.') ``` As this would return: ``` TypeError: Cannot read property 'call' of undefined ``` However it seem fairly...

I am unable to add the callback to the JSON file. I tried ``` "missing_key_callback" : function(key) { // Do something with the missing key // e.g. send key to...