Clone this wiki locally
This is a forked repository. Have a look at
joshmh’s globalize2 wiki
for more information.
The important thing is that this fork adds translation associations for all available locales, e.g.
class Article < ActiveRecord::Base
translates :title, :body
adds these two associations
has_many :article_translations_cs has_many :article_translations_en
And the other goodie is that the SearchLogic ascend_by_… and descend_by_… are added for the translated attributes, so for the above example the scopes :ascend_by_title, :descend_by_title, :ascend_by_body, :descend_by_body appear.