@scml/mod-i18n
TypeScript type definitions for DoL i18n mod, handling translation and localization data.
Installation
Quick Start
Add type reference
Use global instance
modI18N is mounted on window.
Import types on demand
Global Types global
Subpath Exports
API Reference
./I18N
ModI18N class
Main i18n class. Properties: modUtils, modSC2DataManager, logger, idbRef, idbKeyValRef, typeB. Methods: patchVersionString(), readZipStream(), readZipSelf(), checkItem(), etc.
Type Definition Source
INFO
- Upstream: https://github.com/Lyoko-Jeremie/Degrees-of-Lewdity_Mod_i18nMod
- Default branch: master
- Build:
pnpm run download && pnpm run build
