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.
I18n namespace injection with fallback functionality
License
avarteqgmbh/i18n_namespace
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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