Forum: Ruby on Rails Localizing the views

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
059ed46172a087063ce26250e44c8627?d=identicon&s=25 Fernando Perez (fernando)
on 2008-11-24 23:33

Using I18n, how would you localize the hard-coded html that is inside a
view? I can't find a way to do that in a clean manner.
9a2a53db8e9b4476038c94a64b32833f?d=identicon&s=25 Ryan Bigg (ryan-bigg)
on 2008-11-25 00:01
(Received via mailing list)
By hand. One string at a time.
Ryan Bigg
059ed46172a087063ce26250e44c8627?d=identicon&s=25 Fernando Perez (fernando)
on 2008-11-25 01:01
Ryan Bigg wrote:
> By hand. One string at a time.
> -----
> Ryan Bigg
> Freelancer

Crap, I was fearing that would be the answer. I thought about creating a
layout for each language, but it would not be very maintainable.
4e515deb518e9195f0dc45ec2af6a541?d=identicon&s=25 Karel Minařík (karmi)
on 2008-11-25 09:45
(Received via mailing list)
Hi Fernando,

you can probably make it more automated by writing a Rake task such as
this: for Gibberish.


On Nov 25, 1:01 am, Fernando Perez <>
This topic is locked and can not be replied to.