I believe this is due to the `footer_languageselect` template's using the wrong redirect url variable ('theme_' rather than 'lang_').
This fixed the problem on my system, so I issued a respective pull request with the change, tell me what you think:
https://github.com/mybbgroup/CurvesUI/pull/21