improve polyglossia.el
polyglossia: add automatic detection of languages