title: How to internationalize string in coffeescript with i18n value?
body: <p>My problem is fairly simple: I have a string in one of my coffeescripts that I need to internationalize with an i18n value in my Rails application. Here's my code:</p>
  
  <pre><code> $ -&gt;
        $("#order_accepted_terms").on 'invalid', -&gt;
          this.setCustomValidity('Die AGB müssen akzeptiert werden.')
  </code></pre>
  
  <p>Anyone got any ideas?</p>