Langue française par défaut

This commit is contained in:
echarp 2013-11-14 11:28:19 +01:00
parent 3931eb05e0
commit 87ca278c87
2 changed files with 4 additions and 0 deletions

View File

@ -19,5 +19,6 @@ module AgendaDuLibreRails
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # 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('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de # config.i18n.default_locale = :de
config.i18n.default_locale = :fr
end end
end end

3
config/locales/fr.yml Normal file
View File

@ -0,0 +1,3 @@
fr:
hello: "Bonjour le monde"