Languages and custompagecontroller functionality