[Rails] [ANN] Internationalization Library: MLL

Carl Youngblood carlwork at ycs.biz
Mon Jan 31 20:56:24 GMT 2005


F. Egger wrote:

> * 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. 

This sounds really great.  So I'm just curious as to how the harvester 
determines where a string ends and begins.  Does it just look in-between 
the tags?  Also, forgive me since I'm not too familiar with gettext (I 
actually helped develop a home-grown system that did much the same 
thing), but does this basically collect all the strings that are inside 
the _() and store them in a document for translation?  What file format 
are the strings stored in?  Are static locale-specific files generated 
to make it faster, or are they retrieved from a file/db every time?

Thanks,
Carl


More information about the Rails mailing list