configure i18n

This commit is contained in:
Zachary Chai
2016-11-03 17:22:33 -04:00
parent 9a6b75d15b
commit 84fb5c617f
4 changed files with 16 additions and 0 deletions

View File

@ -12,6 +12,13 @@ module Greenlight
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
# i18n
# ensure each language has a regional fallback
config.i18n.available_locales = %w(en en-US)
config.i18n.default_locale = 'en-US'
config.i18n.fallbacks = {'en' => 'en-US'}
# BigBlueButton
config.bigbluebutton_endpoint = ENV['BIGBLUEBUTTON_ENDPOINT']
config.bigbluebutton_secret = ENV['BIGBLUEBUTTON_SECRET']
end