title: Rails: how to i18n an array of strings?
body: <p>I'm having trouble using <code>I18n.translate</code> to translate an array.</p>
  
  <p>Specifically, I've got this array,</p>
  
  <pre><code>module TaskEnums
    OCTAVE_BANDS = [:hz63, :hz125, :hz250, :hz500, :hz1000, :hz2000, :hz4000, :hz8000, :hz16000]
  end
  </code></pre>
  
  <p>and I have the following translation in a YAML file.</p>
  
  <pre><code>en:
    TaskEnums:
      OCTAVE_BANDS:
          hz63: "63 Hz"
          hz125: "125 Hz"
          hz250: "250 Hz"
          hz500: "500 Hz"
          hz1000: "1000 Hz"
          hz2000: "2000 Hz"
          hz4000: "4000 Hz"
          hz8000: "8000 Hz"
          hz16000: "16000 Hz"
  </code></pre>
  
  <p>In my view, I'd like to display a dropdown menu that allows users to select a frequency.</p>
  
  <pre><code>&lt;%= form_for(@task) do |f| %&gt;
    &lt;%= f.select :frequency, TaskEnums::OCTAVE_BANDS %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>I know I can translate individual symbols with <code>t :symbol</code>, but this approach doesn't seem to work with arrays (e.g. <code>t TaskEnums::OCTAVE_BANDS</code> doesn't do what I need). </p>
  
  <p>Does anyone know how I can translate the <code>OCTAVE_BANDS</code> array, so that the translations appear in the dropdown?  This seems like it must be a common problem, so I assume (and hope!) that there's a simple solution... can anyone suggest how to get it done?</p>
  
  <p>Many thanks,</p>
  
  <p>D.</p>