Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sort locales keys in lexical order. Sort all locales if no path parameter given
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
Gemfile
MIT-LICENCE.txt
README.rdoc
Rakefile
i18n_sort_keys.gemspec

README.rdoc

Overview

Rake Task for sorting locales keys.

Code Quality Metrics

Installation

gem install i18n_sort_keys

Then , just require it by

gem i18n_sort_keys

A new rake task, i18n:sort_keys will be added to your rails tasks.

Usage

Without parameter, recursively sort all yaml locales under RAILS_ROOT/config/locales

rake i18n:sort_keys

With parameter, sort only one locale

rake i18n:sort_keys[path_to_locale]

Licence

MIT Licence

Something went wrong with that request. Please try again.