diff options
author | elijah <elijah@riseup.net> | 2013-12-22 01:45:41 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-12-22 02:00:49 -0800 |
commit | 665964bcbba69829a4ff1e7d7bd936f90d49b3f7 (patch) | |
tree | bc5356220eaca2465bd135f45edf8000d6c254be /config/defaults.yml | |
parent | 5bf1462140a7aa17ea815ccc5105ace6fa878d83 (diff) |
locale prefix support:
* set locale based on request header
* enforce locale path prefix when current locale is not the default
* note: don't use root_path anymore, instead use home_path
Diffstat (limited to 'config/defaults.yml')
-rw-r--r-- | config/defaults.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/defaults.yml b/config/defaults.yml index eb31301..98dc334 100644 --- a/config/defaults.yml +++ b/config/defaults.yml @@ -45,7 +45,9 @@ common: &common user_actions: ['destroy_account'] admin_actions: ['change_pgp_key', 'change_service_level', 'destroy_account'] billing: ~ - + default_locale: :en + available_locales: + - :en service_levels: &service_levels service_levels: 0: @@ -89,6 +91,10 @@ test: secret_token: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' reraise_errors: true billing: {} + default_locale: :en + available_locales: + - :en + - :de production: <<: *downloads |