MailingList


 « Return to Thread: Flash ?

Re: Flash ?

by Peter Schrammel :: Rate this Message:

Reply to Author | View in Thread

Judith Meyer schrieb:
> Hi,
>
> if you use LanguageFu (not sure about Globalize), you can use the .t
> function in controllers and models as well, so what I'd suggest is
> doing
> flash[:notice] = "You have successfully logged out".t  .
>
Yes thats what I'd do if I'd be sure that everyone uses globalize with
the plugin. But there are still un-i18n-ed apps so I'm looking for a
solution to be able to do i18n but in a transparent way. So I don't want
to touch the plugin but touch the app/rails.

Thanks so far

Peter

 « Return to Thread: Flash ?