export const global_lang = {}; export const global_charset = {}; /** * @param {!string} name * @param {Object} charset */ export function registerCharset(name, charset) { global_charset[name] = charset; } /** * @param {!string} name * @param {Object} lang */ export function registerLanguage(name, lang) { global_lang[name] = lang; }