在电脑上写文件英文可以说是 "write a document on a computer" 或者 "type a document on a computer"。

关于这个短语的来源,我们可以从词语的本义入手。"Write" 是 "书写" 的意思,"document" 是 "文件" 的意思。"Computer" 是 "电脑" 的意思。所以,"write a document on a computer" 就是指在电脑上书写文件。

这个短语是由两个单词组成的,在英文中这种短语是很常见的。

下面是一些英文例句以及它们的中文翻译:

I need to write a report on my research findings. 我需要写一份关于我研究结果的报告。
Can you help me type this document on the computer? 你能帮我在电脑上敲这份文件吗?
I prefer to write my documents on the computer because it's faster and easier to edit. 我喜欢在电脑上写文件,因为这样更快,也更容易编辑。