added support for named languages in settings