Please help me find this movie about poetry

I saw this film about 10years ago.

From what I remember.
It’s about a teenage girl comes to visit her grandmother or maybe living with her.
Amd she find out she have a hidden talent of writing poetry just like her grandmother.
Submits her poetry for a competition or something…

That’s all I remember.