i18n-tasks icon indicating copy to clipboard operation
i18n-tasks copied to clipboard

Manage translation and localization with static analysis, for Ruby i18n

Results 80 i18n-tasks issues
Sort by recently updated
recently updated
newest added

When we're rolling out features behind a feature flag we move our translations over with `mv` then re-add the translation back to where it was moved from. This is pretty...

gems/ruby-2.4.2/gems/easy_translate-0.5.0/lib/easy_translate/request.rb:47:in `perform_raw': Bad language pair: en|en (EasyTranslate::EasyTranslateException) ``` bundle exec i18n-tasks translate-missing warning: parser/current is loading parser/ruby24, which recognizes warning: 2.4.0-compliant syntax, but you are running 2.4.2. warning: please see...

Adding the following translation to a `haml` results in keys reported as unused ``` haml = t("views.shared.filters.by.#{group_type}", count: items.length) ```

I just added `localeapp` to my app, and it detected some errors that `i18n-tasks` missed. In particular, it detected some keys, that although used and translated in every language, were...

enhancement

I often use stuff like the following: ``` de: activerecord: attributes: defaults: &defaults created_at: 'Erstellt am' updated_at: 'Aktualisiert am' user:

In my config, I have `- config/locales/**/*.%{locale}.yml` enabled in the `data.read` section, and in the `ignore_unused` section, I have `- '{devise,simple_form}.*'`. When I run `i18n-tasks remove-unused`, it does not display...

Basically, I would like a command like `find` where entries are grouped by file, not by key. Likewise, I would also like to limit the search to specific files. This...

enhancement

Actually I would expect that the "remove-unused" command just remove unused translations, without sorting the other keys or normalizing my yaml. An option would be appreciated to force normalization if...

enhancement

Whenever I run i18n-tasks, I get the following warning: ``` warning: parser/current is loading parser/ruby27, which recognizes2.7.6-compliant syntax, but you are running 2.7.5. Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. ``` cf. https://github.com/rubocop/rubocop/issues/9700

I encountered this problem in rails. I have a controller with a before action: ```ruby class ThingsController before_action :redirect_if_view_only, only: [:update, :destroy] def update end def destroy end private def...