I18n.namespace = :administrator # with a namespace set, these are the lookup keys # administrator.home.index.content # home.index.content t('home.index.content') # your namespace can be an array too I18n.namespace = [:administrator, :special_club] # administrator.special_club.home.index.content # administrator.home.index.content # home.index.content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
I18n namespace injection with fallback functionality
License
avarteqgmbh/i18n_namespace
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
I18n namespace injection with fallback functionality
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published