source: lliurexberry-gui/trunk/fuentes/src/node_modules/jed/README.md @ 778

Last change on this file since 778 was 778, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 2.0 KB
Line 
1[![Build Status](https://secure.travis-ci.org/SlexAxton/Jed.png)](http://travis-ci.org/SlexAxton/Jed)
2
3# Jed
4
5*Gettext Style i18n for Modern JavaScript Apps*
6
7For more info, please visit the docs site at <http://slexaxton.github.com/Jed>.
8
9## You sure you don't want something more modern?
10
11I also maintain [messageformat.js](https://github.com/SlexAxton/messageformat.js). If you don't specifically need a gettext implementation, I might suggest using MessageFormat instead, as it has better support for plurals/gender and has built-in locale data.
12
13
14## Parsing Gettext Files
15
16Jed doesn't include a Gettext file parser, but several third-party parsers exist that can have their output adapted for Jed.
17
18#### Node
19
20Just search the npm repository, there are several PO and MO file parsers available.
21
22#### Browser
23
24[Jed Gettext Parser](https://github.com/WrinklyNinja/jed-gettext-parser) is the only known browser MO file parser, and it also works in Node, and outputs Jed-compatible data directly.
25
26[gettext.js](https://code.google.com/p/gettext-js) and [Pomo.js](https://github.com/cfv1984/pomo) both include browser-compatible PO file parsers.
27
28## Todo
29
30* Build time generation of plural form functions
31* Web interface for building translation sets
32* Code introspection for default values
33
34## License
35
36You may use this software under the WTFPL.
37
38You may contribute to this software under the Dojo CLA - <http://dojofoundation.org/about/cla>
39
40
41## Author
42
43* Alex Sexton - @slexaxton - <http://alexsexton.com/>
44
45
46## Credits
47
48A good chunk of sanity checking was done against the gettext.js tests. That was written by:
49
50* Joshua I. Miller
51
52The sprintf implementation is from:
53
54* Alexandru Marasteanu <alexaholic [at) gmail (dot] com>
55
56
57## The name
58
59The name jed.js is an homage to Jed Schmidt (<https://github.com/jed>) the JavaScript community member who is a japanese translator by day, and a "hobbyist" JavaScript programmer by night. Give your kids three character names and they'll probably get software named after them too.
Note: See TracBrowser for help on using the repository browser.