Locale::createCanonical() does not recursively match languageAlias AFTER match territoryAlias
Here are some example:
FAIL: createCanonical(azj-AZ); got "az-AZ"; expected "az-Latn-AZ"
Notice the following entries in https://github.com/unicode-org/cldr/blob/master/common/supplemental/supplementalMetadata.xml
FAIL: createCanonical(azj-SU); got "az-AZ"; expected "az-Latn-AZ"
FAIL: createCanonical(srp-YU); got "sr-RS"; expected "sr-Cyrl-RS"
FAIL: createCanonical(kas-Arab-356); got "ks-Arab-IN"; expected "ks-IN"
Code to reproduce the problem
Please assign this to me. I will work on this.
fix in
fix landed