You might use localeManager->getActiveCodes()