Use variable language specific strings in hugo config file
<p>My goal is to build a multilingual site using <a href="https://gohugo.io/" rel="nofollow">hugo</a>. For this I would like to:</p>

<ul>
<li>not touch the theme file</li>
<li>have a config file which defines the overall structure for all languages (config.toml)</li>
<li>have a "string" file for all languages</li>
</ul>

<p>So for example, I would have a config.toml file like this:</p>

<pre><code>[params.navigation]
    brand = "out-website"

    [params.navigation.links]
        about     = $ABOUT_NAME
        services  = $SERVICES_NAME
        team      = $TEAM_NAME
        impressum = $IMPRESSUM_NAME
</code></pre>

<p>a english language file:</p>

<pre><code>ABOUT_NAME=About
SERVICES_NAME=Services
TEAM_NAME=Team
IMPRESSUM_NAME=Impressum
</code></pre>

<p>and a german language file like this:</p>

<pre><code>ABOUT_NAME=Über uns
SERVICES_NAME=Dienste
TEAM_NAME=Mitarbeiter
IMPRESSUM_NAME=Impressum
</code></pre>

<p>And then I want to compile the project for english, I do something along  the line of:</p>

<pre><code>hugo --theme=... --config=config.toml --config=english.toml
</code></pre>

<p>and german:</p>

<pre><code>hugo --theme=... --config=config.toml --config=german.toml
</code></pre>

<p>Or in same similar way.</p>

<p>For this I need to use variables in the config.toml that are defined in english.toml or german.toml</p>

<p>My google search so far say, that I cannot use variables in toml.
So is there a different approach with which I could achieve this?</p>