Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

localisation


jsperanto

Simple translation for your javascripts, yummy with your favorite templates engine like EJS.

  • Pluralization, interpolation & "nested lookup" support for your translations
  • Uses XHR to get a JSON dictionary (or load it your own way & format)
  • JSLint-ed, QUnit-ed
  • similar to Rails's i18n but sans backend needed
  • No global pollution (hides under jQuery.jsperanto)
  • Works with : IE6+, Firefox 3+, Safari 3+, Chrome, Opera 9+

Depends on jQuery 1.3.2+ (uses $.ajax, $.each, $.extend)

l10n

l10n is a jQuery plugin that allows you to localize the content in your page.
Since version 1.0.0 it is possible to localize all html elements that contain text and even images can be handled over this plugin.

All of your strings or meta-information have to be stored in JSON format in nice "packages" (*.js-files).

These "packages" can be created e.g. out of a .NET *.resx-file using XML2JSON

This plugin is based on jQuery Localisation by Keith Wood.

This plugin supports an unlimited number of "packages"

As with the use of the jQuery selectors you can localize any content during runtime:

  • just a paragraph: $("p").l10n({options});
  • just a single item (span): $("#warning").l10n({options});
  • of course the whole web page (if you put in the recommended class="l10n" in your elements): $(".l10n").l10n({options});

JavaScript Localisation

Automatically load localisation packages for your JavaScript. Defaults to the browser's language setting, but may be overridden.