auto select language
and demo page improved