Thread:Support/Untranslated language names/reply (3)

What do you mean with to use Português instead of hardcoding the language name?

Riight, no I remember. The problem with pt, pt-pt and pt-br is that, that CLDR uses pt(=pt-br) and pt-pt, while mediawiki has pt(=pt-pt) and pt_br. The logic how to map and convert those correctly is not straightforward... Can you come up with how to do that?