$elxis_language->toBrowserLang();
//$elxis_language->toBrowserLang();
Had same prob, could not imagine that browser lang is related with elxis set lang.
I guess // deactivates that php- line, so elxis stays to set lang.