You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Error building site: Failed to load translations in file "de.toml": unable to parse translation #1 because invalid plural category newerPosts
#462
Open
FoxMaccloud opened this issue
Jan 13, 2024
· 2 comments
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.
The text was updated successfully, but these errors were encountered:
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.
I'm getting an error when I try to start a server like so;
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.
The text was updated successfully, but these errors were encountered: