0

My Rails app's localization works fine locally, but when deployed to Heroku some word don't get translated and renders the "missing translation" span tag.

This question seems to have the same problem and have solved it by removing the offending BOM. But what does this imply, how do I identify and remove offending BOM in my yaml-file?

Or/and what should I look for to check if BOM exists in the file?

I'm editing in Sublime.

Community
  • 1
  • 1
Fellow Stranger
  • 32,129
  • 35
  • 168
  • 232

1 Answers1

1

If BOM is your problem, in Sublime you can go to File --> Save With Encoding --> UTF8.

UTF8 options is implied to be without BOM. You have other option as well UTF8 with BOM.

Joao Cunha
  • 772
  • 4
  • 15