Translations:Manual:LocalisationCache.php/17/en

How this class resolves language fallbacks is that when searching for a specific message key, it will look for the message in all the languages, and then cache the value as if it were from the original language.