0031295: implement language selection