RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Get your local Rails application ready for I18N

I just launched a handy tool helping transfer your local Rails project to an i18n one by extracting text from HTML and helper methods from ERB views. An introduction blog or Fork it at Github Install: gem install ready_for_i18n Usage: ready_for_i18n <path_to_ERB_source_files> [target path] Non-Enligsh project usage: Check here

Comments

Hi all,

is there a i18n extraction gem/lib out there that actually works with HAML ? Thx, Nicolas.

The ErbHelperExtractor in ready_for_i18n may help a bit but another HAMLTextExtractor need to be patched. Added as an issue at it’s github page.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in