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

Function fetchCLDR

packages/base/src/UI5Element.ts:1395–1400  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1393 }
1394
1395 static fetchCLDR() {
1396 if (this.getMetadata().needsCLDR()) {
1397 return fetchCldr(getLocale().getLanguage(), getLocale().getRegion(), getLocale().getScript());
1398 }
1399 return Promise.resolve();
1400 }
1401
1402 static asyncFinished: boolean;
1403 static _definePromise: Promise<void> | undefined;

Callers

nothing calls this directly

Calls 8

fetchCldrFunction · 0.85
getLocaleFunction · 0.85
needsCLDRMethod · 0.80
getMetadataMethod · 0.80
getLanguageMethod · 0.80
getRegionMethod · 0.80
getScriptMethod · 0.80
resolveMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…