Fixes MultiValueDictKeyError when 'languages' does not exist.

To address issues/2102
Merge pull request #2151 from blackrobot/patch-1

Fixes MultiValueDictKeyError when 'languages' does not exist.