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/fe4bf183-5f4d-4025-95a4-3e917ca174a0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to