appernetic / hugo-nederburg-theme

Nederburg is a fast and secure hugo theme and is a port of the Tracks WP theme
Other
107 stars 89 forks source link

multilanguage support #72

Open wineandmeet opened 5 years ago

wineandmeet commented 5 years ago

Hello Firstly I want to thank you for your theme. As I am trying to use it for my wine blog.

However I would to write articles in different languages. How can I do to add a multilanguage support ? Ideally I would like to have a button somewhere on the top where we can switch the language of the post.

regards

MatthewMcD commented 5 years ago

Have you looked at the Hugo Documentation?

It is here: https://gohugo.io/content-management/multilingual/

Then there are these two excellent posts: https://regisphilibert.com/blog/2018/08/hugo-multilingual-part-1-managing-content-translation/ https://regisphilibert.com/blog/2018/08/hugo-multilingual-part-2-i18n-string-localization/

wineandmeet commented 5 years ago

Thanks for your help. I guess this is a common need. Would it possible for you to adapt your theme for this purpose ? At least how can I add a language button to choose the language of the website ? Some examples ? Regards

MatthewMcD commented 5 years ago

Did you look through the posts? They are exactly what you are asking for with examples.