MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / getLocale

Method getLocale

src/services/preferences/types.ts:26–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 getUiConfig(): Promise<UiConfig>
25 saveUiConfig(partial: Partial<UiConfig>): Promise<{ success: boolean; error?: string }>
26 getLocale(): Promise<string>
27 saveLocale(lang: string): Promise<{ success: boolean; error?: string }>
28}

Callers 2

detectSystemLocaleFunction · 0.65
initPreferencesSyncFunction · 0.65

Implementers 1

FetchPreferencesAdaptersrc/services/preferences/fetch.ts

Calls

no outgoing calls

Tested by

no test coverage detected