Gettext Generators
Gettext for ruby is great, but it breaks all those handy scaffold functions rails provides. Because I found this really annoying, I've created a Gettext-version of the standard Rails generators. At the moment only scaffold_resource is available, because this one is mostly used, but other will follow soon.
Files
The files can be found at:
http://rubyforge.org/projects/gettextgnrtrs/
Installation
How do I use them you ask? Simple! Just unpack them into the vendor/plugins folder of your project or just do this:
2.0:
ruby script/plugin install svn://rubyforge.org/var/svn/gettextgnrtrs/tags\
/Gettext-Generators-2.0RC/
1.2.3:
ruby script/plugin install svn://rubyforge.org/var/svn/gettextgnrtrs/tags\
/Gettext-Generators-1.2.3/
After that just do what you normally do:
ruby script/generate scaffold_resource_gettext
The file also includes net gettext rake tasks (/lib/tasks), which you might want to alter for your project. Please email or post a ticket on rubyforge if you encounter any problems!
