mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Load locale files from all subfolders
This commit is contained in:
parent
45ba9b8421
commit
8abbfb9bbe
@ -17,7 +17,7 @@ module Projekteuler
|
||||
# config.time_zone = 'Central Time (US & Canada)'
|
||||
|
||||
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
||||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
||||
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}').to_s]
|
||||
config.i18n.available_locales = :de
|
||||
config.i18n.default_locale = :de
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user