Click To Globalize: Rails 2.0 Ready

Posted by luca
on Friday, December 14

I have finished to work on Click To Globalize, to made it Rails 2.0 compatible.

What's Changed?

All and nothing: from the user point of view, the plugin has the same behaviors of the previous version. My recent activity was a refactoring, now it:

  • Works with CSRF Killer
  • Works with Prototype 1.6.0.1 and Scriptaculous 1.8.0.1
  • Works with rewritten version of Scriptaculous Ajax.InPlaceEditor
  • Works with new Prototype events handling
  • Uses new Prototype's Element#addMethods and Function#wrap to add methods and AOP
  • Uses Protoype Hash#get, instead of square brackets
  • Uses .html.erb as helper, instead of .rhtml
  • Has a more clean installation/disinstallation process
  • Has DRYed up tests
  • Hasn't prototype.js into the packaging

How To Use It?

Rails 2.0

Rails 1.2.x

For a detailed guide, howtos, snippets, video-tutorials and other infos, please visit the Click To Globalize page.

Comments

Leave a response

  1. RafaelDecember 16, 2007 @ 04:45 PM
    Hi Luca! Nice work! I'll check it out right now, can't wait til tomorrow. Thanks a lot for your noctice. Best regards Rafael
  2. Martijn LafeberDecember 18, 2007 @ 11:02 AM
    Hey Luca! I think this will be an amazing plugin. However, in order to make it work, I had to remove the namespace parameter in line 9 of click_to_globalize.rb, otherwise i got the error "wrong number of arguments". In my case, the strings to be translated had to be in a span/h1/etc... and not in a div or p element. Weird. Oh, will there be a restful version of click_to_globalize? The "map.connect ':controller/:action/:id'" in my routes looks a bit ugly. But anyways: great work!
  3. SteveJanuary 22, 2008 @ 06:17 AM
    Hi Luca. Your plugin looks very interesting. Thanks for all the work. I would like to learn more about using click_to_globalize on Rails 2.0. Are your video tutorials available in another resolution? The text is very blurry for me. Any suggestions?
  4. HelderJanuary 23, 2008 @ 12:49 AM
    Hi Luca! Your plugin looks really nice and very promising! I'm surely going to try it out! I would just like to report that the link to the Trac on the plugin website is broken, I got a 404 error. I also had trouble seeing the videos with that resolution. Would it be possible for you to post them in a bigger resolution? Maybe as a torrent file, I don't know. Thanks!
  5. SteveFebruary 01, 2008 @ 06:33 PM
    Luca, the high resolution version of the Getting Started tutorial is excellent! Thank you very much for taking the time to produce this great resource.
  6. SamMay 12, 2008 @ 10:07 AM
    Your plugin is great but it does not allow to edit button value.