MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / localize

Method localize

src/monogatari.ts:1504–1506  ·  view source on GitHub ↗

* Localize every element with a data-string property using the translations * available. If no translation is found for the current language, the current * text of the element will be kept.

()

Source from the content-addressed store, hash-verified

1502 * text of the element will be kept.
1503 */
1504 static localize (): void {
1505 return _localize (this.asEngine ());
1506 }
1507
1508 /**
1509 * Preload game assets

Callers 3

initMethod · 0.95
didMountMethod · 0.80
didMountMethod · 0.80

Calls 1

asEngineMethod · 0.95

Tested by

no test coverage detected