Multilingual (documentation) bug?

I am building a site with hugo and I have to say, I love it. Great work!!

My site will be multilingual and I have it working already, but it doesn’t behave as expected, when working with [params]

I’m using Hugo Static Site Generator v0.18.1 BuildDate: 2016-12-30T11:05:34+01:00

I would expect in config.toml:

[params.navigation.links]
	docu  = "Documentation"
	news  = "News"
	contact   = "Contact"

[Languages.de.params.navigation.links]
	docu  = "Dokumentation"
	news  = "News"
	contact   = "Kontakt"

Instead of that I have to do this, which works effectively (note the missing “params”):

[Languages.de.navigation.links]
	docu  = "Dokumentation"
	news  = "News"
	contact   = "Kontakt"

Is my expectation broken or is this behavior unexpected?

I can see how this could be confusing … it wasn’t to me when I implemented it.

We should maybe handle “your expected” behavior as well, but what you are doing is correct (which is, in a way, how params works in frontmatter in content pages).

Could you create a documentation bug on GitHub?

OK, I tried my best:
Bug #2990
Pull Request (Just a suggestion.)