Thread:Support/CLDR and pt

I'm going to be long, and ask for you patience here. There is a problem in the mapping CLDR -> MediaWiki. CLDR has the languages:
 * pt
 * pt-BR
 * pt-PT

and its policy is that the main pt is the same as the variant with the largest population. So:
 * "CLDR pt" = "CLDR pt-BR".

MediaWiki does not have pt-PT. Its languages are:
 * pt
 * pt-BR

to avoid a third L10n/i18n. But MediaWiki then maps "MediaWiki pt"</tt> to "CLDR pt"</tt> instead of the correct "CLDR pt-PT"</tt>. So,
 * "MediaWiki pt" = "CLDR pt" = "CLDR pt-BR"</tt>.

For any purpose external to MediaWiki, this makes MediaWiki's languages:
 * pt-BR</tt>
 * pt-BR</tt>

Ensuing issues
This has vast implications, but some I've come across which seem related are: How can we get around all this? Anything I can do to help?
 * 1) My language here is pt</tt>. Yet when I use  </tt> the extension gives me the result "polonês" (from "CLDR pt"</tt>) instead of "polaco" (from "CLDR pt-PT"</tt>). In other words, the language names in the MediaWiki universe are incorrect for users with the language pt</tt>. Similarly, date formats, currency designations, etc. should be incorrect for such users. Please remember that we corrected the PLURAL thing the other day, so that's fine.
 * 2) FreeCol seems to ignore the existence of the "MediaWiki pt"</tt> language. So, although it has been translated here, it's not used at all in FreeCol. I am guessing that this is related, because the pt</tt> translations seem to be complete for some time and are not in FreeCol. Please let me know if it will be used, because there are many messages and I'd like to be sure before reviewing some issues in the current translation.