<p><a href="https://github.com/AntiFish03" class="user-mention">@AntiFish03</a> Thanks for the pointer, but I don't think that's really doing what I want. What I'm looking to do is to split by language rather than route - so have precompile generate i18n/en.js and so on and then have my application load the right js.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1021#issuecomment-135558465">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLTyzsUncAglk6wzrF0giGjRI4MkXks5or3engaJpZM4FkcZt.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1021#issuecomment-135558465"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>