Hey there,
I’m trying to build a more verbose list of available translations.
Verbose | Non-Verbose |
---|---|
English | En |
French | Fr |
In the page context, the only available information about a perticular page’s language seems to be .Lang
which holds the language key as defined in the configuration file.
This is fine, but how to retrieve some other information, like .LanguageName
for exemple ?
.Site.Languages
being an array and not a map, it is not possible to grab the language information using index
and .Lang
Thanks!