Simple translation middleware with polyglot.js from airbnb