In 2.1.x `Refinery::I18n` is a dependency of core so you don't need to check if `i18n_enabled?` anymore. You can simplify that line to:

```ruby
Refinery::I18n.frontend_locales.each do |lang|
```