implemented set language and load language file by url parameter in legacy code