Globalize strategy for content?


what are your strategy for using Globalize to translate sites with lot
of full text ? I mean where do you translate your String ?
I saw on the swen’s wiki
that you can use the locale:set_translation method:

Locale.set_translation(‘Welcome’, Language.pick(‘de-DE’),

and then add all your translation in the controller ?? swen also said
that there are maybe better way, which is ?

Are you doing thing like this ?

==> If for example in your view you have the french text below, where
(controller, init file,…) and how (Locale.set_translation, directly in
the DB, …) do you translate this ? :

Bonjour ceci est un site en français

Encore une phrase que j'aimerai bien traduire pour tout le monde ;-)

... and so one ...



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs