I’m currently evaluating some CMS’s for a lean business website, and I like the lightweight approach of Hugo very much. However, offering the Web presence in German and English is crucial to me. I have skimmed through http://gohugo.io/tutorials/create-a-multilingual-site/ but still have two questions:
Is is possible to redirect the user automatically to the domain of their language according to the Accepted-Language field in the HTTP request?
Is it possible to have different language in sub-paths instead of sub-domains?
I did a client side javascript once that do conditional redirects that replaces URL pathname for a Business Catalyst multilingual site. Don’t know if it can be of any use but here it is: https://gist.github.com/Molnfront/da1f0bd7a0264fa8f477
Woha, really nice! Can you complete the article? Also, it looks like that with this method, you’re obliged to have all contents in all languages… That’s not exactly my use case
Treat each language as if it’s a blog of its own, unconcerned with other languages. Merge at build time. Branches such as layouts, themes, assets, etc. can be common to all