we usually call a place's language by adding 文 behind the place's name, eg. 中文= chinese, the language of china (中国), while 語言 is just language, eg. 中文是中国的語言 (chinese is the language of china)
文 can also means a passage/essay, eg. 议论文 (argumentative essay)