private function loadMessages($files, $trans)
    {
        $message = [];
        foreach ($files as $file) {
            // Merge the language strings into the sub message array
            if (is_readable($file)) {
                $message = array_merge($message, include $file);
            }
        }
        // Append to the sub message array, preventing overloading files
        $trans += $message;

        return $trans;
    }