Merge "Fix translations detection for BCP 47 locales."