开发者

How to add multilanguage Refinery CMS control panel?

There is a "Change language" button at the bottom-right of the refinery demo site's control panel.

How to add multilanguage Refinery CMS control panel?

But the button doesn't show up when I setup开发者_运维技巧 my own site. I try to copy some settings in demo site like "I18n Translation Enabled", still lack of luck. Can't find any document on the refinery site or google.


For this add the gem to Gemfile

It should be there by default, but just double check in case.

gem 'refinerycms-i18n'

Run the generator

rails g refinerycms_i18n

Change the language settings

In Refinery's settings find I18n Translation Frontend Locales (Refinery) and add the ISO country name.

--- 
- :en
- :ru
- :de

That's it! Visit the Pages tab and you should see flags indicating the page language in the tree.

How to add multilanguage Refinery CMS control panel?

Edit a page and you'll see the available languages at the top. Simply select one to add content for that language.

How to add multilanguage Refinery CMS control panel?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜