commit | 6a29b497a2b9c16145a2cb0c940378d14ee68d64 | [log] [tgz] |
---|---|---|
author | Igor Viarheichyk <viarheichyk@google.com> | Wed Jan 24 15:42:58 2018 -0800 |
committer | Igor Viarheichyk <viarheichyk@google.com> | Wed Jan 24 16:07:08 2018 -0800 |
tree | 56835458ae33dd3aa1f22c996b291495814713e9 | |
parent | 4ec3efce54b14157ce9084faed51be07cbbbe274 [diff] |
Fix translations detection for BCP 47 locales. Drop BCP 47 unicode locale extension when passing the locale into ICU ULocale.addLikelySubtags. Currently addLikelySubtags discards region code for locales with extensions, making them treated as not translated by Setup Wizard. Test: manual run with debug logs. Bug: 72336416 Change-Id: I7258577253486162b310e4102669db082cd09594