1. Past perfect tense indicating an action that was intended or arranged to happen at a specific time in the past, but may or may not have occurred
I had planned to visit my grandmother last weekend, but I got sick.
Eu tinha planejado visitar minha avó no fim de semana passado, mas fiquei doente.
2. Used to express an unfulfilled intention or a plan that was made before another past event
She had planned to leave early, but her meeting ran late.
Ela tinha planejado sair cedo, mas sua reunião se estendeu.