Skip to content

Commit 94f1805

Browse files
committed
config/initializers/react_on_rails.rb
1 parent 4c50e1d commit 94f1805

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

config/initializers/react_on_rails.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@
6666
config.server_renderer_pool_size = 1 # increase if you're on JRuby
6767
config.server_renderer_timeout = 20 # seconds
6868

69+
################################################################################
70+
# I18N OPTIONS
71+
################################################################################
72+
# Define the location of your translation.js
73+
config.i18n_dir = nil
74+
config.default_locale = "en"
75+
6976
################################################################################
7077
# MISCELLANEOUS OPTIONS
7178
################################################################################

0 commit comments

Comments
 (0)