How can I identify unused i18n keys?

后端 未结 5 1627
萌比男神i
萌比男神i 2021-02-04 03:42

I\'m working on an existing Rails app and am using a localization file, en.yml, to hold most of the app\'s text. At the moment, we aren\'t localizing into any other

5条回答
  •  无人共我
    2021-02-04 04:14

    I18n-tasks gem

    I just heard about this gem, which includes a task to show "potentially unused translations".

    https://github.com/glebm/i18n-tasks

提交回复
热议问题