MCPcopy Create free account
hub / github.com/UI5/webcomponents / getI18nBundle

Function getI18nBundle

packages/base/src/i18nBundle.ts:75–82  ·  view source on GitHub ↗
(packageName: string)

Source from the content-addressed store, hash-verified

73 * @param packageName
74 */
75const getI18nBundle = async (packageName: string): Promise<I18nBundle> => {
76 if (customGetI18nBundle) {
77 return customGetI18nBundle(packageName);
78 }
79
80 await fetchI18nBundle(packageName);
81 return getI18nBundleSync(packageName);
82};
83
84/**
85 * Allows developers to provide a custom getI18nBundle implementation

Callers 8

onBeforeRenderingMethod · 0.85
onBeforeRenderingMethod · 0.85
onDefineMethod · 0.85
onDefineMethod · 0.85
onDefineMethod · 0.85
fetchI18nBundlesFunction · 0.85
getIconAccessibleNameFunction · 0.85

Calls 2

fetchI18nBundleFunction · 0.85
getI18nBundleSyncFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…