Skip to content

Commit 15c6887

Browse files
committed
Merge pull request unmantained-activeadmin-plugins#9 from spleenteo/master
Updated README
2 parents 0862d38 + 1c83950 commit 15c6887

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,10 @@ If `switch_locale` is set, each tab will be rendered switching locale.
3838

3939
If you want to use Friendly ID together with Globalize3, please take a look
4040
at the `activeadmin-seo` gem.
41+
42+
## Hints
43+
44+
To use the dashed locale keys as 'pt-BR' or 'pt-PT' you need to convert a string to symbol (in application.rb)
45+
46+
config.i18n.available_locales = [:en, :it, :de, :es, :"pt-BR"]
47+

0 commit comments

Comments
 (0)