environnement-francais

Config your application in French and set the default time zone to Paris
Icons/chart bar
Used 18 times
Created by
C Clément Prod'homme

Usage
  1. Set time zone to Paris
  2. Set default locale to :fr
  3. 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'
Comments

Sign up or Login to leave a comment.