Skip to content

Commit 4a83438

Browse files
author
Pedro Belo
committed
configure pliny specs to use locales from the template
1 parent 57779ef commit 4a83438

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/support/i18n.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# configure i18n to use locales from the template app
2+
I18n.config.enforce_available_locales = true
3+
I18n.load_path += Dir["./lib/template/config/locales/*.{rb,yml}"]
4+
I18n.backend.load_translations

0 commit comments

Comments
 (0)