2010/8/4 Céd' <[email protected]>:
> Hi everyone,
>
> I am facing a weird issue with the translation helper.
>
> When i try to display a localized string with 4 variables, here what i
> get :
>
> my_string: "We successfully add {{count}} credits available from
> {{start_date}} to {{end_date}}. Total : {{total}} EUR"
>
> t("my_string", :count => 3, :start_date => "2010-01-01", :end_date =>
> "2010-12-31", :total => 12)
>
> => "We successfully add 3 credits available from 2010-01-01 to
> 2010-12-31. Total : {{total}} EUR"

Tried with identical case and works for me (Rails 2.3.8 + i18n 0.4.1).

-- 
You received this message because you are subscribed to the Google Groups 
"rails-i18n" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-i18n?hl=en.

Reply via email to