aboutsummaryrefslogtreecommitdiffstats
path: root/lib/languages.rb
Commit message (Collapse)AuthorAgeLines
* Fix it so we can correctly use and display locales that contain an ↵Seb Bacon2012-06-13-1/+1
| | | | | | | | | | underscore (e.g. `hu_HU`): * Use the latest version of `gettext_i18n_rails` (including fix to make it work in Railes 2.x) * Use a backend that falls back to, for example, `hu` from `hu_HU` (so we can use any underlying Rails l10n) * Normalize the underscore to a hyphen when working out which languages to display in the language switcher Fixes #503 (and see there for more discussion)
* Fall back to "parent" locale names when deciding the localised language ↵Seb Bacon2012-06-12-2/+3
| | | | name. Fixes #503
* add encoding magic comments and fix pathsJames McKinney2011-10-16-0/+1
|
* get language names from a comprehensive list, rather than just hard-code a ↵Seb Bacon2011-07-07-0/+193
handful