title: Backbone Global Variable
body: <p>How can I use a global variable in Backbone at this case? The problem is that I have more than 120 views like <code>HomeView</code>, and it will be too hard to define the same <code>polyglot</code> var in all views. Is there another way?</p>
  
  <pre><code>var TranslatetView = Backbone.View.extend({ 
      window.polyglot = new Polyglot({phrases:{'hello':'hello'}});
      var polyglot    = window.polyglot.phrases;
  });
  
  var HomeView = Backbone.View.extend({ 
      console.log(polyglot.hello);
  });
  </code></pre>