Hi,
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.
Hi,
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.
Ryan B. wrote:
By hand. One string at a time.
Ryan B.
Freelancer
http://frozenplague.net
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.
Hi Fernando,
you can probably make it more automated by writing a Rake task such as
this: http://gist.github.com/4068/ for Gibberish.
–karmi
On Nov 25, 1:01 am, Fernando P. [email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs