MCPcopy Index your code
hub / github.com/dataease/SQLBot / getLocale

Function getLocale

frontend/src/utils/utils.ts:57–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 return language
56}
57export const getLocale = () => {
58 return wsCache.get('user.language') || getBrowserLocale() || 'zh-CN'
59}
60
61export const setSize = (size: any) => {
62 let data = ''

Callers 1

setupInterceptorsMethod · 0.90

Calls 2

getBrowserLocaleFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected