Fixed the `System::loadLanguageFile()` method (see #5259)