Langue française par défaut
This commit is contained in:
parent
3931eb05e0
commit
87ca278c87
@ -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
3
config/locales/fr.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
fr:
|
||||||
|
hello: "Bonjour le monde"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user