Obviously, default language from the brawser settings should be set if NOT set directly. Also when the list of supported languages is determined, extention '.php' should be excluded.