Hi
I thought about a way to translate a website. I thought about a Model,
for example called Language, with a Table in the DB, that dynamicly
load textphrase in the webpage.
Maybe like this :
@text= Language.find_by_text(''some text to translate'')
@text.getText(Cookie[:language]
Is that a good way to translate a webpage with a DB backend ? What is
the best practices for translation
Fero46
BTW: Sorry for my bad english.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---