pprompt-optimizerSource ↗
25 declarations and 20 call references extracted from public source metadata.

Source symbols: packages/ui/src/plugins/i18n.ts

Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.

  • Revision: develop@0c3679511d5c61dcdbb92777e62f315f16d7d378 · 2026-07-18T10:13:54Z
  • Declarations: 25
  • Referenced calls: 20

Declared symbols

  • SupportedLocale — exported type at line 14; references String, trim, includes, toLowerCase, startsWith
  • DEFAULT_LOCALE — exported const at line 16; references String, trim, includes, toLowerCase, startsWith
  • SUPPORTED_LOCALES — exported const at line 17; references String, trim, includes, toLowerCase, startsWith
  • normalizeLocaleCandidate — function at line 19; references String, trim, includes, toLowerCase, startsWith
  • normalized — const at line 24; references String, trim, includes
  • lower — const at line 31; references toLowerCase, startsWith
  • getBrowserPreferredLocale — function at line 53; references isArray, resolveDefaultLocale
  • candidates — const at line 58; references isArray, resolveDefaultLocale, normalizeLocaleCandidate
  • sanitizeSupportedLocale — exported function at line 66; references normalizeLocaleCandidate
  • resolveDefaultLocale — exported function at line 73; references isArray, for, normalizeLocaleCandidate
  • candidates — const at line 76; references isArray, for, normalizeLocaleCandidate
  • resolved — const at line 81; references normalizeLocaleCandidate
  • servicesRef — const at line 91
  • setI18nServices — exported function at line 94
  • i18n — const at line 99; references createI18n, getBrowserPreferredLocale
  • syncLocaleToElectronMain — function at line 114; references setLocale, warn
  • api — const at line 116; references setLocale, warn
  • value — const at line 130; references String, syncLocaleToElectronMain
  • initializeLanguage — function at line 138; references getBrowserPreferredLocale, warn, sanitizeSupportedLocale, setPreference, error
  • browserLocale — const at line 140; references getBrowserPreferredLocale, warn
  • savedLanguage — const at line 148; references sanitizeSupportedLocale, setPreference
  • resolvedLocale — const at line 153; references sanitizeSupportedLocale, setPreference
  • installI18n — exported function at line 171; references initializeLanguage, use
  • initializeI18nWithStorage — exported function at line 177; references initializeLanguage
  • installI18nOnly — exported function at line 182; references use

Imported modules

  • vue
  • vue-i18n
  • ../i18n/locales/zh-CN
  • ../i18n/locales/zh-TW
  • ../i18n/locales/en-US
  • ../composables/storage/usePreferenceManager
  • @prompt-optimizer/core
  • ../types/services

File-level call references


Source: packages/ui/src/plugins/i18n.ts

Generated by smolify with deterministic-repository-import-v2 · 1 source file