Robert Walker wrote:
> Pale Horse wrote:
>> My client has a translator and wants a lot of his page content to be
>> translated into 6 different languages.
>> 
>> When a user selects their language on the front end, it need to alter
>> the Page content, Page title and Navigation title.
>> 
>> I've made alternate columns in my database for the other languages.
>> Although it's messy, it is what the client requested.
>> 
>> So I assume I'll need an action in my application controller to set
>> session data and then render the appropriate content front-end.
>> 
>> Now, can someone give me any help regarding this process, or has anyone
>> come across this before?
>
> First I have to ask if you have read the Rails Internationalization 
> (I18n) guide:
> 
> http://guides.rubyonrails.org/i18n.html

I've not read this, though I imagine it to be overkill for my purposes.

> Or is your question specifically related to how to store the user's 
> preferred language.

What I really want is to render a different column based on the session 
data.
-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to