bug951401 -  middleware setup should throw an error when unknown languag...

https://bugzilla.mozilla.org/show_bug.cgi?id=951401