title: How to use i18n in Pug template
body: <p>I'm using <a href="https://www.npmjs.com/package/i18n" rel="nofollow noreferrer">i18n</a> for my Express + pug app. I've done i18 config in following way: </p>
  
  <pre><code>i18n = require("i18n")
  
  i18n.configure({
          locales:['en', 'mn'],
          directory: __dirname + '/locales'
      });
  
  app.use(i18n.init);
  
  app.use(function(req, res, next) {
      // express helper for natively supported engines
      res.locals.__ = res.__ = function() {
          return i18n.__.apply(req, arguments);
      };
  
      next();
  });
  </code></pre>
  
  <p>But I don't know how to use it in the pug file. I've tried it like these and it didn't work: </p>
  
  <pre><code>input(type="text" name="near-location" placeholder="__('Ask')")
  input(type="text" name="near-location" placeholder="${__('Ask')}"
  input(type="text" name="near-location" placeholder="#{Ask}")
  </code></pre>
  
  <p>How should I use i18n in a pug template?</p>