hugo-theme-hello-friend-ng
hugo-theme-hello-friend-ng copied to clipboard
Error: Error building site: Failed to load translations in file "de.toml": unable to parse translation #1 because invalid plural category newerPosts
I'm getting an error when I try to start a server like so;
$ hugo server
Total in 803 ms
Error: Error building site: Failed to load translations in file "de.toml": unable to parse translation #1 because invalid plural category newerPosts
map[id:pagination translation:map[newerPosts:Neuere Beiträge olderPosts:Ältere Beiträge]]
The steps I did to reproduce this was to add the theme as a submodule in the themes folder and edit the config.toml in the root path. I'm attempting to start the server using WSL on windows10 and I have installed hugo via apt.
I have the same exact problem, slightly different setup.
- Ubuntu 20.04.6 server via SSH
- Wait I suppose that's the only difference.
apt
installed this Hugo version (today, default canonical repos):
Hugo Static Site Generator v0.68.3/extended linux/amd64 BuildDate: 2020-03-25T06:15:45Z
Which I suppose is pretty far behind upstream (v0.122.0)...
Seeing as I've already tried all the obvious bandaids like disabling all languages except english to no avail, suppose I'll try upgrading my Hugo version manually next.
Confirmed: Upgrading to the latest version of Hugo (v0.122.0/extended linux/amd64) resolved the issue for me.
I would love to submit a PR that either fixes the issue or minimally updates the min_version
property in theme.toml
, but I also just learned this repo was archived last June 😞
P.S. alternative to manual installation, it seems you can get the latest version of hugo from the snap
default repos. If you prefer to stick to package managers as much as possible.