background detect upload's language, pretty print