diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/environment.rb | 5 | ||||
-rw-r--r-- | config/initializers/fast_gettext.rb | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/config/environment.rb b/config/environment.rb index 4b2c97f1a..77d212f2f 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -114,14 +114,13 @@ if (MySociety::Config.get("DOMAIN", "") != "") end # fallback locale and available locales -I18n.default_locale = :en -available_locales = MySociety::Config.get('AVAILABLE_LOCALES', 'en') +I18n.default_locale = :sq +available_locales = MySociety::Config.get('AVAILABLE_LOCALES', 'sq en sr') FastGettext.default_available_locales = available_locales.split(/ /) # Load monkey patches and other things from lib/ require 'tmail_extensions.rb' require 'activesupport_cache_extensions.rb' -require 'public_body_categories.rb' require 'timezone_fixes.rb' require 'use_spans_for_errors.rb' require 'make_html_4_compliant.rb' diff --git a/config/initializers/fast_gettext.rb b/config/initializers/fast_gettext.rb index b01b129fa..4c000d97d 100644 --- a/config/initializers/fast_gettext.rb +++ b/config/initializers/fast_gettext.rb @@ -1,3 +1,3 @@ FastGettext.add_text_domain 'app', :path => 'locale', :type => :po -FastGettext.default_available_locales = ['en','es'] #all you want to allow +FastGettext.default_available_locales = ['sq','en','sr'] #all you want to allow FastGettext.default_text_domain = 'app' |