function loadPattern(lang) {
            var filename = lang + ".hpb";
            var langFallback = lang;
            H.cf.polyfill = true;
            // eslint-disable-next-line security/detect-object-injection
            H.cf.langs[lang] = "H9Y";
            if (lcFallbacks && lcFallbacks.has(lang)) {
                langFallback = lcFallbacks.get(lang);
                filename = langFallback + ".hpb";
            }
            H.bins = H.bins || new Map();
            loadBinary(H.paths.patterndir, filename, langFallback, lang);
        }
Load .hpb files
@param {string} lang The language
@returns {undefined}