aboutsummaryrefslogtreecommitdiffstats
path: root/config/initializers/fast_gettext.rb
Commit message (Collapse)AuthorAgeLines
* Move some more config into AlaveteliLocalization so that it can be called ↵Louise Crow2013-07-24-3/+2
| | | | outside initialization e.g. in tests.
* Rename Configuration class to avoid conflict with ActiveSupport::ConfigurableHenare Degan2013-03-03-1/+1
|
* Give the implicit default locale in a URL without locale precedence over the ↵Louise Crow2012-11-28-3/+1
| | | | session in the case where the default locale is not being included in URLs. This allows the user to return to the default locale.
* Add a configuration option to specify that you don't want the default locale ↵Louise Crow2012-11-28-1/+3
| | | | to appear in URLs generated by the application.
* Default internal and external encodings now set in environment.rbLouise Crow2012-10-10-1/+0
|
* Fix it so we can correctly use and display locales that contain an ↵Seb Bacon2012-06-13-0/+4
| | | | | | | | | | 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)
* fix 'invalid byte sequence in US-ASCII'James McKinney2012-04-02-0/+1
|
* fix another pathJames McKinney2011-10-16-1/+1
|
* Put back the gettext fuzzy/obsolete warningsDavid Cabo2011-08-12-1/+1
| | | | Be careful: turns out that the :ignore_fuzzy flag changes the behaviour of gettext. The warnings dont show up, but the fuzzy strings get used, and theyre most often wrong!
* disable FastText warnings about fuzzy/obsolete strings, at least temporarilyDavid Cabo2011-08-11-1/+1
|
* It's a bit misleading to set FastGettext.default_available_locales in ↵Robin Houston2011-06-10-1/+0
| | | | initializers/fast_gettext.rb, when it is overridded by environment.rb anyway (based on the value in config/general)
* initial, basic i18n support with gettextSeb Bacon2011-03-10-3/+3
|
* Make sure locale path is absolute - the app code is called from within crons ↵Louise Crow2011-02-24-1/+1
| | | | etc.
* Adding translation via fast_gettext.Louise Crow2011-02-24-0/+3