I set the language to French Canadian and I enabled the List of Figures by setting these options in the yaml:
lang: fr-CA
lof: true
The list if figures looks like this:
Table des figures
I want it to be this instead:
Liste des figures
How can I change it? I tried adding this to header-includes, but it didn't work:
\addto\captionsfrench{
\renewcommand{\contentsname}
{Liste des figures}
}