get_CLDR_locale() currently has a manual list that maps wordpress locale codes to CLDR ones. Rather than having a hardcoded list, should we generalize the cases where the only difference is capitalization of the country code part of the locale code (e.g. pt-br and pt-BR)?
get_CLDR_locale()
currently has a manual list that maps wordpress locale codes to CLDR ones. Rather than having a hardcoded list, should we generalize the cases where the only difference is capitalization of the country code part of the locale code (e.g.pt-br
andpt-BR
)?