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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
13000b19c5adb654dc99b2ec6b396ec4?d=identicon&s=25 Gleb M. (glex)
on 2014-03-24 12:26
i18n-tasks is a gem to find and manages missing and unused translations
in your

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:
Blog post:
This topic is locked and can not be replied to.