[Rails] [ANN] Internationalization Library: MLL

Sascha Ebach se at digitale-wertschoepfung.de
Mon Jan 31 20:07:37 GMT 2005


F. Egger schrieb:
> 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!

Fantastic!

Thanks, looking forward to future improvements.

Sascha


More information about the Rails mailing list