Thank you, Yaroslav!

> We've got a CLDR parser now :)

Well... I noticed that project after I almost finished my
implementation...

Anyways, of course I knew that it might be better to use something
like XPath to parse the CLDR data in a good manner, and tried REXML
and Hpricot and Nokogiri, but, for me, they were unbearably slow and
eats a lot memory when parsing the huge amount of CLDR data.
That's why I finally decided to parse the HTML document by regexp
reluctantly.
Does your parser work fast enough?

Akira


On 11月17ζ—₯, 午後4:00, "Yaroslav Markin" <[EMAIL PROTECTED]>
wrote:
> This is awesome, great work!
>
> We've got a CLDR parser now :)
>
> On Mon, Nov 17, 2008 at 9:22 AM, Akira Matsuda <[EMAIL PROTECTED]> wrote:
>
> > Hello, my name is Akira.
> >http://github.com/amatsuda/i18n_generators
>
> > This gem/plugin generates
> >  * i18n locale files for ActiveRecord/ActiveSupport/ActionPack
> >  * model names & attribute names translation file
> > for any locale you specified.
>
> > It internally invokes Ruby-Gettext-Package, scrapes the website of the
> > Unicord CLDR project, and calls Google Translation API to localize/
> > translate each value.
>
> --
> Yaroslav Markin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rails-i18n" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rails-i18n?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to