Reworks the Translations `getDetectedLanguages()` functionality to take a language's script tag into consideration. This allows us to correctly differentiate between languages by script, e.g. `zh-Hans` (Simplified Chinese) vs. `zh-Hant` (Traditional Chinese). Depends on D231885 Differential Revision: https://phabricator.services.mozilla.com/D231886