We just released a new version of the ‘localeapp’ gem, which includes a new feature and various small improvements.
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.
localeapp pull <key>
Thanks to @full-of-foo for this contribution.
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 🙂