Forum: Rails I18n i18n-tasks to manage translations with static analysis

729f685b8e8d7e9feed18c177c82e59b?d=identicon&s=25 Gleb Mazovetskiy (glex)
on 2014-03-24 12:26
i18n-tasks is a gem to find and manages missing and unused translations
in your
application.

The default approach to locale data management with gems such as i18n is
flawed. If you use a key that does not exist, this will only blow up at
runtime. Keys left over from removed code accumulate in the resource
files and introduce unnecessary overhead on the translators. Translation
files can quickly turn to disarray.

i18n-tasks improves this by using static analysis. It scans calls such
as I18n.t('some.key') and provides reports on key usage, missing, and
unused keys. It can also can pre-fill missing keys, including from
Google Translate, and it can remove unused keys as well.

i18n-tasks can be used with any project using i18n (default in Rails),
or similar, even if it isn't ruby.

See i18n-tasks on Github: https://github.com/glebm/i18n-tasks
Blog post:
http://blog.glebm.com/2014/02/27/i18n-made-easier-...
This topic is locked and can not be replied to.