Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Gettext Style i18n for Modern JavaScript Apps
branch: master

This branch is 37 commits behind SlexAxton:master

Failed to load latest commit information.
test
.gitignore Move over to npm managed test dependencies. Command line tests. Take …
.travis.yml Updating version for small changes
Makefile
README.md Inform about MessageFormat
jed.js Fixed domain error #5 ; removed obsolete try-catch
package.json Updating version for small changes
plurals.jison Proper plural form parsing, fully passing current test suite.

README.md

Build Status

Jed

Gettext Style i18n for Modern JavaScript Apps

For more info, please visit the docs site at http://slexaxton.github.com/Jed.

I also maintain 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.

Current Version

v0.5.2

Todo

  • Build time generation of plural form functions
  • Web interface for building translation sets
  • Code introspection for default values

License

You may use this software under the WTFPL.

You may contribute to this software under the Dojo CLA - http://dojofoundation.org/about/cla

Author

Credits

A good chunk of sanity checking was done against the gettext.js tests. That was written by:

  • Joshua I. Miller

The sprintf implementation is from:

  • Alexandru Marasteanu

The name

The 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.

Something went wrong with that request. Please try again.