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 internationalization i18n l10n


Eniac Essentials Internationalisation Plugin

This plugin loads a language-dependent dictionary in JSON format and apply the text given to the element that has the corresponding id. It does so from to the tree that is under the current jQuery.
Example of use:

$(document).ready(function() {
    $(this).translate("i18n.json");
});

where there is a default i18n.json file and several other language-files: i18n-en-US.json, i18n-nl.json, i18n-fr-FR.json. the i18n-file format looks like

{ "showFormButton" : "Selection",
  "pollTable_filter":"Seek",
  "nameField" : "Name",
  "genderField" : "Male",
  "titleGender" : "Gender (M/V)",
  "titleName" : "Surname"
}

NB.It will replace everything in an element with the text, so:

<div id="ee1">Search:<input type="text"/></div>

will end up like

<div id="ee1">Seek</div>

jquery-localize

A plugin that makes it easy to internationalize your web site.

  • Lazily loads JSON translation files based on a simple naming convention.
  • By default, applies the translations to your document based on simple attribute convention.

Created for and used on http://LetMeGoogleThatForYou.com using jQuery 1.2.6

Hosted on github, see the README for details.

JavaScript Localisation

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