iLib

A library of i18n routines written in Javascript

Add a Review
10 Downloads (This Week)
Last Update:
Download ilib-7.0.tgz
Browse All Files
Windows Mac Linux

Description

With the advent of AJAX, it is no longer possible to avoid i18n in Javascript. Previously, you could format dates in the user's locale on the server side and send the correctly-formatted date across to the browser in the HTML. Now, you can call web services via AJAX that give you results such as time stamps in unix time. The formatting has to be done in the browser, and the standard Javascript library is inadequate to format it flexibly in any given locale.

Enter iLib. Now you can do the formatting properly, right in the browser. It's not even difficult or slow!

Date formatting is not all that iLib can do. Check out the feature list below for a list of classes that iLib currently offers. More classes are on the way, and many more locales.

iLib Web Site

Features

  • date/time, duration, & date range formatting
  • number, percentage, and currency formatting and parsing
  • calendar support, including Gregorian, Julian, Arabic civil, Hebrew, and Persian calendars
  • time zones and time zone info with all IANA time zones
  • string translation/localization, including pseudo-translation
  • string formatting with replacement parameters, including choice formats
  • locale info about many different locales
  • "ctype" functions for use with parsing strings
  • collation/sorting
  • address parsing and formatting
  • name parsing and formatting
  • phone number parsing and formatting, as well as number normalization and matching
  • can support any locale
  • Comes with a "JSAssemble" tool that allows you to pick and choose only those classes and locales you need, to create a small and succinct js file to include in your HTML

Update Notifications





Write a Review

User Reviews

Be the first to post a review of iLib!

Additional Project Details

Languages

French, Dutch, Italian, English, German, Spanish

Intended Audience

Information Technology, Developers, Architects

User Interface

Web-based

Programming Language

JavaScript

Registered

2012-05-09

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.