Hi , I am new to rails.. I am having a line in the mailing queue.rb file
as
subject ="Mail : Welcome to app"
I have added translation for Welcome to app as
str_welcome: "Welcome to app"
Now i am trying to replace Welcome to app in the file with the
str_welcome
how to do that as i have another prefix ("Mail") also ..
on 2010-10-12 08:32
on 2010-10-13 15:05
Or you could try nesting a translation:
subject = I18n.t(:mail, :title => I18n.t("str_welcome"))
Your mail translation would look like:
mail: "Mail: %{title}"
2010/10/12 Andrs Meja <andmej@gmail.com>:
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.