Ruby on Rails: Loading Locales with Yes, No, On, and Off
Oct 15, 2025 · 4 min read · Ruby on Rails uses the gem psych to load the YAML files for locales. If you have something like this in your en.yml file: en: terms: yes: Yes no: No switch_on: On switch_off: Off accept: true reject: false And then you will...
Join discussion
