[Rails] Re: help in making a function inherited by all views
TEREN wrote:
> I try to make a table in the database where all my texts are in so i
> could add another column one day for a different language so when I do
> decide to translate my site to a different site it would be a matter
> of adding a column to a table.
> (BTW I intend to put all the data in my site in the database(with no
> real static content so it seems like the best choice i have)
I believe what you are really trying to ask here is how to properly add
localization to your site. Right now your site is being localized for a
specific language and parts of your site inherit text that is stored in
a specific localization table for say.. English. Then, at another point
in time, you want to be able to add another column for say.. German,
etc.
Is this what you are trying to accomplish?
--
Posted via http://www.ruby-forum.com/.
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home