Meaning of wéi:
为
to act as; to serve as; to behave as; to become; to be; to do; variant of 為|为[wei4]; to take sth as
Tā yuànyì wèi zhège xiàngmù gōngzuò.
他愿意为这个项目工作。
He is willing to work for this project.
Tā wéi gōngsī zuòle hěnduō gòngxiàn.
他为公司做了很多贡献。
He made many contributions to the company.
Tā wèi péngyǒu zuòle yī jiàn hǎoshì.
他为朋友做了一件好事。
He did a good deed for a friend.
Tā nǔlì xuéxí, xīwàng yǒu yītiān néng chéngwéi yī míng yīshēng.
他努力学习,希望有一天能成为一名医生。
He studies hard, hoping to become a doctor one day.
Zhège wèntí jíjiāng bèi jiějué, wǒmen de nǔlì zhōngyú yǒu wèi.
这个问题即将被解决,我们的努力终于有为。
The problem is about to be solved, and our efforts finally have a purpose.
Wǒ xiǎng zhīdào gāi rúhé wéi zhè xiàng gōngzuò zuò zhǔnbèi.
我想知道该如何为这项工作做准备。
I want to know how to prepare for this job.
Tā wèi zìjǐ de cuòwù dàoqiàn.
他为自己的错误道歉。
He apologized for his mistake.
Tā bǎ lǎoshī dàngzuò tā de bǎngyàng wéi tā nǔlì xuéxí.
他把老师当作他的榜样为他努力学习。
He takes his teacher as his role model and works hard to study.
by (in the passive voice); because of; for; to; variant of 為|为[wei2]; as (in the capacity of)
Zhè běn shū shì yóu Lǐ lǎoshī suǒ wéi.
这本书是由李老师所为。
This book was written by Teacher Li.
Wǒ wèi nǐ gǎndào jiāo'ào.
我为你感到骄傲。
I am proud of you.
Tā mǎi le yī běn shū wèi tā de péngyǒu.
他买了一本书为他的朋友。
He bought a book for his friend.
Tā měitiān dū zài nǔlì wèi míngtiān zuò zhǔnbèi.
她每天都在努力为明天做准备。
She works hard every day to prepare for tomorrow.
Tā wèi le tā fàngqì le yīqiè.
他为了她放弃了一切。
He gave up everything for her.
Tā wéi wǒmen zuòle hěnduō gōngzuò.
她为我们做了很多工作。
She did a lot of work as our representative.