diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-06-29 19:05:19 -0700 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-06-29 19:05:19 -0700 |
commit | 683614009024b0bc36c68826e9fabc1857a27e8a (patch) | |
tree | 48d2e215ef9787f162923cb3af8f1308d62ee6ef | |
parent | 5343626ea8b17a92b6b4603f2404ba06800b21b1 (diff) | |
download | rails-683614009024b0bc36c68826e9fabc1857a27e8a.tar.gz rails-683614009024b0bc36c68826e9fabc1857a27e8a.tar.bz2 rails-683614009024b0bc36c68826e9fabc1857a27e8a.zip |
Expand on #24071 for specifying custom locale fallbacks. [ci skip]
-rw-r--r-- | guides/source/configuring.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index f34b6473b2..0cb039981c 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -297,7 +297,9 @@ All these configuration options are delegated to the `I18n` library. * Or you can set different fallbacks for locales individually. For example, if you want to use `:tr` for `:az` and `:de`, `:en` for `:da` as fallbacks, you can do it, like so: ```ruby - config.i18n.fallbacks = { az: :tr, da: [:de, :en] } + config.i18n.fallbacks = { az: :tr, da: [:de, :en] } + #or + config.i18n.fallbacks.map = { az: :tr, da: [:de, :en] } ``` ### Configuring Active Record |