title: How do you structure i18n yaml files in Rails?
body: <p>I started populating an en yaml file in Rails and I can already tell it will get messy and out of hand before too long. Is there a convention to keeping this file organized?</p>
  
  <p>So far I have this structure:</p>
  
  <pre><code>language:
    resource:
      pages: # index, show, new, edit
        page html elements: # h1, title
    activerecord:
      attributes:
        model:
          property:
  </code></pre>
  
  <p>Now I have the following things that I want to fit into this structure but I'm unsure how to:</p>
  
  <ol>
  <li>Navigation</li>
  <li>Button text (save changes, create account, etc)</li>
  <li>Error messages from controller flash</li>
  <li>How to add multi-word keys. Do I use a space or an underscore? For exmaple, <code>t(".update button")</code>) or <code>t(".update_button")</code></li>
  </ol>
  
  <p>Is there a convention to locale file structure?</p>