Scan scope
Indexed sources
Core
Translated XLIFF under translations/{locale}/ and sources under translations/default/.
Modules
XLIFF and legacy PHP files of each installed module.
Themes
XLIFF of active themes.
Templates
Hard-coded strings in .tpl and .twig.