add multi language support, fixed login dialog