Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Sort locales keys in lexical order. Sort all locales if no path parameter given

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 MIT-LICENCE.txt
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.