Added support for language selection and actions