Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/YILS-LIN/short-video-factory
/ changeAppLanguage
Function
changeAppLanguage
electron/i18n/index.ts:37–42 ·
view source on GitHub ↗
(lng: string)
Source
from the content-addressed store, hash-verified
35
}
36
37
export
const
changeAppLanguage =
async
(lng: string) => {
38
await
i18next.changeLanguage(lng)
39
BrowserWindow.getAllWindows().forEach((win) => {
40
win.webContents.send(
'i18n-changeLanguage'
, lng)
41
})
42
}
Callers
2
buildMenu
Function · 0.90
initI18n
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected