HUGO

I18n group strings in language file

Hi I am introducing a second language into my project. It was fairly straighforward to set up. But I have a lot of strings to translate, so I was trying to group them, but it seems go-i18n is expecting a pretty rigid structure.

So I wanted to have something like the following in my de.yaml:

header:
  teaser:
     other: "My awesome thing"
  button_text: 
     other: "Get started"
about:
   text:
     other: "Something about us...."
   link_text:
     other: "Learn more..."

But this leads to errors: failed to load translations: unable to parse translation #0 because missing "translation" key map[id:header]

Is there no way to group the strings, so I can have namespace my string keys? How do I go about this?