How to add YAML file that can be access from any page inside the site?

How can I localize content though out my Grav CMS? For example I have some footer content in both english and french. So rather than hardcoding the content for my footer, I need it to be dynamic so that if the user goes to the french route of the site, the content inside the footer while change to french. It would be ideal if I could just keep those localized content inside a YAML file and then pull it out something like {{footer.title}}. I have added content in the /language/en.yaml file and can access it, but I get an issue of being able to loop through the content to build the nav items.

If you have any ideas that would be great.

You can define the nav menu for example in user/config/site.yaml, and fetch the properties using {{ config.site.yourproperty }}