I forgot to add, that I am on Rails 3.2.13 and Ruby 2.0.0p195
On Wednesday, June 19, 2013 9:48:19 PM UTC+2, Mickiii wrote:
>
> Hi,
>
> I have a little issue that I am unsure how to debug / solve.
>
> I am building an application that uses localized number formatting, and I
> noticed that sometimes it does not send the necessary variables to
> client_side_validation, but simply returns "translation missing" error.
> When I reload the page, it sometimes start working again, and moments later
> when I reload, the "translation missing" error shows once again.
>
> Basically I have a da.yml file with the following contents:
>
> da:
> number:
> format:
> delimiter: .
> precision: 2
> separator: ! ','
> significant: false
> strip_insignificant_zeros: false
>
>
> If I do this: I18n.t("number.format.delimiter")
> or I18n.t("number.format.separator") I see this behaviour, but if I request
> one of the other entries, i.e. precision or strip_insignifican_zeros it
> always works as expected. It is the same issue if I flip to my en.yml file.
>
> Why is this? Any ideas what to test / look for?
>
> Thanks in advance for any help on this.
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/90759a85-13b9-4969-a563-865d00a2bf8a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.