barsoom/traco — pull request #12 by fernandomm (2013-10-06 14:18:35+00:00)
Title: Support locales with up to 5 characters

Some locales have uppercase letters and hyphen. I changed the regex to support those locales.

Example: https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/pt-BR.yml