Skip to content

Aissac/radiant-globalize-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Globalize

About

Radiant CMS localization using Globalize:

Installation

git-submodule add git://github.com/ihoka/globalize.git vendor/plugins/globalize
git-submodule add git://github.com/daemon/radiant-globalize-extension.git vendor/extensions/globalize

environment.rb

GLOBALIZE_LANGUAGES = [:en, :ru]
GLOBALIZE_BASE_LANGUAGE = 'ro'

Radiant::Initializer.run do |config|
    ...
end
include Globalize

Run rake db:bootstrap or whatever you need to create radiant tables and do

rake globalize:setup
rake radiant:extensions:globalize:migrate

If you are using [page_attachments] (or any other extension that provides models you want to be language dependent) you could also add

GLOBALIZE_SCOPED_MODELS = ['PageAttachment']

to your environment.rb

About

Translate content in Radiant CMS using the Globalize Rails plugin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages