Fixed bug, the language was hard-coded in one place. Thanks to Tony Liu for finding it.