Which sentence is more formal?

 - Many languages around the world are endangered because young people aren't learning them.
 - Many languages around the world are endangered because young people are not learning them.
The second sentence is less formal. You can tell because it uses a contraction (aren't).
The first sentence does not use a contraction, so it is more formal.