Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChatLab/ChatLab
/ saveLocale
Method
saveLocale
src/services/preferences/fetch.ts:26–28 ·
view source on GitHub ↗
(lang: string)
Source
from the content-addressed store, hash-verified
24
}
25
26
saveLocale(lang: string): Promise<{ success: boolean; error?: string }> {
27
return
patch<{ success: boolean; error?: string }>(
'/preferences/locale'
, { lang })
28
}
29
}
Callers
nothing calls this directly
Calls
1
patch
Function · 0.90
Tested by
no test coverage detected