How to resolve template range variable for translation?

Hi folks,

How to parse a template variable with data.translations ?
I looked everywhere since 2hours but can’t find out.

example :

{{ $translate := ( index $.Site.Data.translations $.Site.Params.locale ) }}

{{ range $pricing := .Site.Data.pricing }}
  <p>{{ ($translate).$pricing.free }}</p> // How to resolve $pricing.free to "pricing.free.title" ?
{{ end }}

Thank for your help !

This is not directly answer to your question, but I recommend you have a look at

I did but I will have to rewrite a lot of yaml to match id/translation structure.

If I hardcode the value it’s work.

<p>{{ ($translate).pricing.free.title }}</p>
==
<p>Free Plan</p>

but I didn’t read anything about dynamic binding in this case.
Thanks anyway.