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

Function getCurrentLang

frontend/src/lang/i18n.ts:137–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135};
136
137const getCurrentLang = (): string => {
138 const curLang = String(i18n.global.locale).toLowerCase();
139 return searchSupportLanguage(curLang);
140};
141
142// Only for first install page
143const getInitLanguage = (): string => {

Callers 4

getCurrentLanguageFunction · 0.90
useMarketPackagesFunction · 0.90
isCNFunction · 0.85
isENFunction · 0.85

Calls 1

searchSupportLanguageFunction · 0.85

Tested by

no test coverage detected