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.
Asked
Active
Viewed 94 times
2 Answers
0
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)

railscard
- 1,848
- 16
- 12
-
1If I put the translations in the locales, how will I be able to access them from the database? – Geo Mar 21 '12 at 10:58
-
There is no way to access locales from the database. If you want to edit localized text directly from site - just create a new model for static content – railscard Mar 21 '12 at 11:08