Gem version 2.5.0 released

We just released a new version of the ‘localeapp’ gem, which includes a new feature and various small improvements.

New feature

Actually part of the 2.4.0 release, but we never wrote a blog post about it so here it is: you can now pull a single translation from a project using the CLI.

Simply run:

localeapp pull <key>

Thanks to @full-of-foo for this contribution.

Other improvements

Thanks to two contributions from @leonhooijer, you can now:

  • see full key path in the CLI log messages when you pass the ‘:scope’ option to ‘I18n.translate()’.
  • we properly stop injecting any custom behavior on blacklisted keys which should make integrations with other gems (e.g. will_paginate) smoother (specially those who expect an exception to be raised).

Happy translating 🙂

This entry was posted in LocaleApp. Bookmark the permalink.

Comments are closed.