Occasional "translation missing" error, even though translation is present


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:




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.

I forgot to add, that I am on Rails 3.2.13 and Ruby 2.0.0p195