environnement-francais
Config your application in French and set the default time zone to Paris
Used 19 times
C
Clément Prod'homme
Usage
- Set time zone to Paris
- Set default locale to :fr
- Add gem rails-i18n
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/zl0sDo"
Template Source
Review the code before running this template on your machine.
environment "config.time_zone = 'Paris'"
environment "config.i18n.default_locale = :fr"
run 'bundle add rails-i18n'
run 'bundle'