Please use standard language code in the websites language selector. For example https://fedoraproject.org/pt to https://fedoraproject.org/pt_PT and https://fedoraproject.org/pt_BR or https://fedoraproject.org/en to https://fedoraproject.org/en_GB and https://fedoraproject.org/en_US.
They are standard.
The golden rule when creating language tags is to keep the tag as short as possible. Avoid region, script or other subtags except where they add useful distinguishing information. For instance, use
ja
for Japanese and notja-JP
, unless there is a particular reason that you need to say that this is Japanese as spoken in Japan, rather than elsewhere.
https://www.w3.org/International/articles/language-tags/index.en