N3
ようとする
Try to, Attempt to, To be about to
この子はなんでも食べようとするから、お菓子は隠してね。
This one will try to eat anything, so please hide any snacks.
Explanation
「ようとする」 has 2 uses
1About to
An action is just about to start, often 「〜ようとした時」 or 「〜ようとしたら」: 「出かけようとした時、電話が鳴った」.
先生が話している間に帰ろうとすると、先生に怒られる。
If you try to go home while the teacher is talking, he will yell at you.
答えようとしたのに、隣の人に遮られた。
I tried to answer but the person next to me cut me off.
2Trying to
Trying or meaning to do something, often without success: 「赤ちゃんが立とうとしている」.
一度に二つのことをしようとするな。
Don't try to do two things at once.
この子はなんでも食べようとするから、お菓子は隠してね。
This one will try to eat anything, so please hide any snacks.
Mixed up with
「〜ようとする」: be about to / try to.
「〜ようとしたが」: was about to, but was interrupted and did not.
「〜ようとしない」: simply refuses to do it.
「〜ようとしている」 is also used when something big is about to happen: 「新しい時代が始まろうとしている」 (A new era is about to begin).