Forum: Ruby on Rails Globalize question

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Heinz S. (Guest)
on 2009-03-27 16:15
Hello,

I just installed globalize2
(http://github.com/joshmh/globalize2/tree/master) and wanted to
translate a simple string. I googled and only found translations for
models etc.

Does anyone know how to translate simple strings like:
en: Hello <%= @user.name %>
to
es: Hola  <%= @user.name %>?

All I found is that I can translate models but there's no need for me to
translate the name :)
This topic is locked and can not be replied to.