title: How can I localise colorbox?
body: <p>I installed Colorbox in my ROR application. But I need localisation. In the script i have:</p>
  
  <p>file images.js.coffee</p>
  
  <pre><code>$(document).ready -&gt;
            $(".group1").colorbox({rel:'group1',
   transition:"none", maxWidth:"85%", maxHeight:"85%",
   current: "{current} &lt;%= t('views.image.of') %&gt; {total}"})
  </code></pre>
  
  <p>where {current} is current image and {total} are total images.</p>
  
  <p>How to paste data from yml-file (app/config/locales/**.yml)?</p>