This is a rails plugin that allows users of your site to contribute translations like facebook.
Clone the repo as a plugin into your Rails app.
More details at http://jtoy.net/2009/10/07/facebook-like-translations-for-your-rails-app.html
When using the Translation Key Controller, you must implement an admin_required method.
Jquery is required along with the jquery rightclick plugin.
The javascript code for rightclicking is used like:
if(typeof($.fn.rightClick) == 'function'){ $('.translatable').rightClick(function(e){ var p = { key: $(this).attr('key') } $.get("/translations/new",p, function(data){ $.facebox(data); }); }); }
MIT License. See the included MIT-LICENSE file.