Curtain Call: Short Game Frame with Title, Cutscene, Results and Replay
README.md
curtainKit.lang
Every word the frame shows, in the player's language, through the engine's i18n catalogs: the kit's own words in curtainKit.package/locales/<tag>/curtain_kit.json (English and Brazilian Portuguese), a game's in the world's locales/<tag>/<namespace>.json. Lang.resolve(v) turns any config text (plain text, a catalog key, { key, values }, an i18n.text value or a function) into a string; Lang.cutscene(def) resolves a cutscene's subtitles (text or key); Lang.setLanguage(tag) forces the frame's language without touching the player's own choice; Lang.onChange(fn) follows every change. Used by the director; games reach it as ctx.t(key, values) and Curtain.setLanguage(tag).