On Aug 3, 11:25 pm, Marnen Laibow-Koser <[email protected]> wrote:
> Leonardo Mateo wrote:
> > On Tue, Aug 3, 2010 at 11:06 AM, Pale Horse <[email protected]>
> > wrote:
>
> >> I've not read this, though I imagine it to be overkill for my purposes.
> > Really?
> > You should read it. That's how rails works withi18n. Overkill would
> > be to implement a different solution when a lot (and I mean a LOT) of
> > people already worked it out in a really nice way.
>
> RailsI18Nis not "really nice".  I recommend fast_gettext instead.
>

Marnen,

I am currently working on a multiple language application using rails
I18n and globalize2 to facilitate
the rendering of our application's static and activerecord database
fields in multiple languages.

Not knowing much about fast_gettext except what I have read on the
github page, could you elaborate on your comment
that I18n is not very nice? and given your experience explain what
advantages a switch/utilization of fast gettext would
provide. Also, would there be a steep learning curve by switching?

Your thoughts would be much appreciated.

Regards

David
> > If you think that translate an application to 6 different languages
> > doesn't need an elegant and easy-to-maintain solution, then you're in
> > trouble.
>
> Agreed.
>
>
>
> >>> 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.
>
> No, you really don't.  You want to use one of the existingI18N
> solutions -- and you don't want to add a column to the DB every time you
> need to support another language.
>
> > If you want to do that, it's a different story. You don't need to ask
> > anybody to do that, just make a case/when structure and you'll be on
> > your way.
>
> But don't do it.
>
>
>
> > --
> > Leonardo Mateo.
> > There's no place like ~
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> [email protected]
> --
> Posted viahttp://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