Rewritten to improve performance.

The previous version would read the files in the specified directory on each request,
which is insanely expensive and frankly, stupid.

Also, you have to specify which locale you want to use for each translation. Using
the middleware, we'll automatically try to detect it and use throughout.