I18n: symbols in locale files

In active support en.yml, there is a reference to symbols in date.order ([:year, :month, :day]).

I think we should change it to [year, month, day] instead. Symbols are not part of standard YAML syntax and since it breaks YAML valid syntax, some third-tools YAML parsers won't load these kind of files.

This matter speacially when trying to integrate Rails I18n locale files into IDEs such as Netbeans or Eclipse, like this project:


This Netbeans plugin uses SnakeYAML Java library ( http://code.google.com/p/snakeyaml/) for parsing locale files and it fails to load files with symbols on it.

We should make more standardized use of YAML in Rails and avoid symbols at most. What do you think?

Hoping for Brazil to win today's game! :slight_smile:

Best regards,


P.S.: I tested replacing the symbols with strings in the YAML in Rails 3 beta 4, but it breaks date_select...