Hi all. I am trying to setup a website which should make it possible to generate content by country, and by language. Examples:
Select Portugal and Portuguese:
https://myite.com/pt/pt
Select Portugal and English:
https://myite.com/pt/en
Is this possible using “Standard” Hugo framework ?
Thanks and regards
Technically yes:
- set the language code to
pt_PT and pt_EN
- set the link for the language code
pt_PT to /pt/pt/
see Multilingual Mode | Hugo - you could set a baseURL to /pt/pt for pt_PT.
An example of what @davidsneighbour implies: this project has different content for pt-br and pt-pt
Hi @davidsneighbour, @martignoni .
Thank you very much for your feedback. I already tried those approaches, and are working like a charm.
Best