-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Multi-language support #119
Comments
Hi @maaque, honestly I am not sure this theme supports i18n, I've only used it for single language sites. It can take some time before I get to look at it closer, but it's a good idea. |
That would be really appreciated and BTW, many thanks for this great template |
Any hints how multilanguage support could be implemented? Probably simplest approach would be like content subfolders /de and /en with the content inside - but how would the top homepage need to look like? |
@spi43984 see https://gohugo.io/functions/i18n/ |
I agree - I could try an help but would need some short instruction how hugo-scroll is set up and where to dig in. |
With the exampleSite I tried
with content/homepage copied into two directories content/de and content/en (that resulted in content/de/homepage and content/en/homepage). I had to copy layouts/shortcodes into exampleSite/layouts. Then got rid of a similar error to A page is not rendered though correctly, see only "Page Not Found" in browser. Need to dig in further. |
any luck with Multi-Language support? |
not yet. Still need to work on that. Could need a little support... |
Hm, what worked at Netlify doesn't work for Github pages, this will need some more fixing for exampleSite, but the feature is now available. |
When I add multilanguage support in the config.toml like
[languages]
[languages.de]
title = "Test Deutsch"
weight = 2
[languages.en]
title = "Test English"
weight = 1
and try to start the hugo server I get the error message:
Error: Error building site: "/home/content/impressum.de.md:13:1": failed to extract shortcode: template for shortcode "icon" not found
As soon as I remove the language section is works again. Any idea, what I am doing wrong?
The text was updated successfully, but these errors were encountered: