Sha256: 79ba314a9e9826bbe4f805480892cf974e908737def942f8da0d31d854df4ced
Contents?: true
Size: 1.12 KB
Versions: 11
Compression:
Stored size: 1.12 KB
Contents
# i18n-tasks finds and manages missing and unused translations: https://github.com/glebm/i18n-tasks # The "main" locale. base_locale: en # Read and write translations. data: # Locale files or `File.find` patterns where translations are read from: read: - config/locales/%{locale}.yml - config/locales/**/*.%{locale}.yml # Locale files to write new keys to, based on a list of key pattern => file # rules. Matched from top to bottom: # `i18n-tasks normalize -p` will force move the keys according to these rules write: - ['*_sidebar.*', 'config/locales/sidebars.%{locale}.yml'] - config/locales/%{locale}.yml # Find translate calls search: ## Paths or `File.find` patterns to search in: paths: - app/ - lib/ ## Root directories for relative keys resolution. relative_roots: - app/controllers - app/helpers - app/mailers - app/presenters - app/views ## Do not consider these keys missing: ignore_missing: - 'devise.*' ## Consider these keys used: ignore_unused: - 'time.formats.*' - 'layouts.default.designed_by' - 'date.*' - 'activerecord.{attributes,errors,models}.*'
Version data entries
11 entries across 11 versions & 1 rubygems