I’m building multilingual website and one of the languages is Norwegian. Norwegian two letter ISO country code is NO and for some reason whenever there is a key “no” in no.yml locale file I get following error:
/Users/golusin/.rvm/gems/ruby-2.0.0-p195/gems/i18n-0.6.9/lib/i18n/backend/simple.rb:32:in `store_translations': undefined method `to_sym' for false:FalseClass (NoMethodError)
This is only happening for Norwegian language with no as starting key value… If I use nor instead of no, everything is fine. Also, if there is a key “no” in any other locale files, I’m getting translate missing output.
Does anybody have any idea why this is happening?
Thanks in advance.