File Metadata cannot be translated anymore
Since https://review.typo3.org/c/Packages/TYPO3.CMS/+/60843 file metadata cannot be translated in the file module as we are now fetching languages from the site object (which is a NullSite in this case and therefor only contains default language).
In this case, it's necessary to fetch all available languages of an installation to make translating file metadata to all languages possible again.
- Query sys_language (as before)
- Aggregate all language configurations from all available sites (allows to get rid of the sys_language dependency at a later point)