[Rails] [ANN] Internationalization Library: MLL

F. Egger f.egger.mailings at digitpaint.nl
Mon Jan 31 19:54:44 GMT 2005


I proudly present the first trunk versions of MLL: the Multil Language 
Library.

The MLL can be found at: http://dev.digitpaint.nl/projects/mll

Features
======

* Reads locale strings and L10N strings from a YML file
* L10N support through gettext, some native functions like a
    localized Time.strftime is available, but untested and 5 times
    slower than the native Time.strftime. (If getttext is not available, it
    will use this pure-ruby version as a fallback)
* I18N support with a gettext like function: _("")
* Includes a "harvester" for going trough HTML/XML, ERB and
    Ruby files and extracting strings to localize


Transparent rails integration
=====================
* By just require the ActionController extensions and setting a
    locale path, controllers and views support _("") on a language that 
can be set per request.
* Can do template translations before they are rendered without
    having to encapsulate all strings with <%= _("string") %>. This 
template translation however
    has to be done through some kind of cache.


Note: The library is although usable, in a very early state of 
development. Not much testing is done with it. All help on making this a 
better lib, is deeply apprecciated!

Kind regards,
Flurin Egger


More information about the Rails mailing list