I’m looking at using Hugo for some documentation that is translated into several languages, including Chinese and Portuguese (Brazil). However, I can’t for the life of me figure out how to specify a language together with a region variant in my site’s config.toml.
I’ve tried every variant I can think of:
[languages.br]
[languages.pt]
[languages.pt-br]
[languages.pt-BR]
[languages.pt.BR]
[languages.pt.br]
together with corresponding variants on the source filenames.
So far nothing has worked and I can’t find a definitive guide for these languages anywhere (I really have searched, so if it’s somewhere obvious, I can only apologise!)