Absolutely, i tried two or three differents names. Le mercredi 04 août 2010 à 07:54 -0500, Andrés Mejía a écrit : > Have you tried changing the variable name? Say, "total_price" instead > of "total"? If that works there might be some strange name conflict > somewhere. > > On Wed, Aug 4, 2010 at 7:43 AM, Krzysztof Knapik > <[email protected]> wrote: > 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 rails-i18n > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rails-i18n?hl=en. > > > > > > -- > 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 rails-i18n > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rails-i18n?hl=en.
-- 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.
