Added allowed languages handling

Refs #129 @ 1h
Merge branch 'master' of https://github.com/DMOPC/site