Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: add site dependencies: load resources: loading translations #158

Closed
dldsantos opened this issue Mar 28, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@dldsantos
Copy link

What happened?

Hello!

I've just downloaded Congo Hugo theme and, as I'm a Windows user, followed the manual installation steps to use it.

The problem is whenever I type hugo server to see my site running, I receive the following error message:

Error: add site dependencies: load resources: loading translations: "C:\Users\Daniel\Hugo\sites\mywebsite\themes\congo\i18n\bn.yaml:1:1": failed to load translations: unable to parse translation #0 because invalid plural category input_placeholder map[id:search translation:map[close_button_title:বন্ধ করুন (Esc) input_placeholder:খুঁজুন open_button_title:খুঁজুন (/)]]
Important: I have created a blank site to try Congo, by entering hugo new site mywebsite, so no other files or folders resided at that location beforehand. It is, therefore, quite odd to have this message shown.

Can someone please advise me?
Thanks in advance.

Theme version

V2.1.0

Hugo version

v0.91.2

What browsers are you seeing the problem on?

Chrome

Relevant Hugo log output

Error: add site dependencies: load resources: loading translations: "C:\Users\Daniel\Hugo\sites\mywebsite\themes\congo\i18n\bn.yaml:1:1": failed to load translations: unable to parse translation #0 because invalid plural category input_placeholder map[id:search translation:map[close_button_title:বন্ধ করুন (Esc) input_placeholder:খুঁজুন open_button_title:খুঁজুন (/)]]
@dldsantos dldsantos added the bug Something isn't working label Mar 28, 2022
@dldsantos
Copy link
Author

My mistake. Found out I had two hugo binaries locally installed in different path locations. One of them was pretty outdated.
Removing it and installing latest Hugo release solved the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant