Geo
Geo

Reputation: 96767

What gem should I use in order to have all the translations in the DB?

I've played a bit with globalize and rails 3, but from what I'm able to tell, globalize only works for ActiveRecord instances. I'd also like to be able to have the translations for other static pages in the database ( say for example header,footer, company details etc. ). Is this possible to do with globalize? If not, please recommend a gem that I should use.

Upvotes: 1

Views: 105

Answers (2)

Geo
Geo

Reputation: 96767

I managed to do this using i18n-active_record

Upvotes: 1

railscard
railscard

Reputation: 1848

If you want to translate static page parts - you may create a new model (with globalize translations) and use it for storing static content (or just put your translations into config/locales folder)

Upvotes: 0

Related Questions