Reputation: 135
I am trying to add new file to
/home/user/Project/blog/config/locales/ru.yml
So, I do just right click no the locales folder and add file ru.yml
BUT RubyMine
show me exeption:
Rails i18n locale file should have single root!
Should I do some additional actions?
Upvotes: 0
Views: 851
Reputation: 1184
That error is because you have two "root level" nodes in that .yml file.
ru:
foo:
bad_root:
Also your file appears to be named ry.yml
instead of your expected ru.yml
not sure if that is what you intended.
Upvotes: 1