0.0
No commit activity in last 3 years
No release in over 3 years
Sort locales keys in alphabetic order. Sort all locales if no path parameter given
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 0
 Project Readme

Overview¶ ↑

Rake Task for sorting locales keys.

Code Quality Metrics¶ ↑

<img src=“https://codeclimate.com/badge.png” />

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