Add browser support to derby-locale.

Derby Locale Browser

A derby-locale strategy that selects locales from the browser's Accept-Language request header.

$ npm install derby-locale-browser --save

In your server file, add the middleware before derby-locale:

var localeBrowser = require('derby-locale-browser');

  // ...
  // ...

name – The name of the strategy. Defaults to browser.

order – The order of the strategy. Blank by default.

path – The path to the locale object. Defaults to $locale.