MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / changeLanguage

Function changeLanguage

frontend/src/stores/useAppConfigStore.ts:110–112  ·  view source on GitHub ↗
(lang: string)

Source from the content-addressed store, hash-verified

108 };
109
110 const changeLanguage = (lang: string) => {
111 setLanguage(lang);
112 };
113
114 const getCurrentLanguage = () => {
115 return getCurrentLang() ?? "en_us";

Callers

nothing calls this directly

Calls 1

setLanguageFunction · 0.90

Tested by

no test coverage detected