How can I customize Language slug?
I’m trying to make two versions of my website - one should be targeted on uk, link shoud look like www.mydomain.com/uk/ (with hreflang tag “en-gb”, I can add this tag in Language Params),
Other version should be targeted on “rest of the world” with www.mydomain.com/, with hreflang tag “en”.
My problem is that Hugo needs Language name, not the Country name, in Language Params.
How can I customize this parameter?
Please note: use lowercase language codes, even when using regional languages (ie. use pt-pt instead of pt-PT). Currently Hugo language internals lowercase language codes, which can cause conflicts with settings like defaultContentLanguage which are not lowercased.