Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/alibaba/page-agent
/ useLanguage
Function
useLanguage
packages/website/src/i18n/context.tsx:30–34 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
28
}
29
30
export function useLanguage() {
31
const ctx = use(LanguageContext)
32
if (!ctx) throw new Error(
'useLanguage must be used within LanguageProvider'
)
33
return ctx
34
}
Callers
15
LanguageSwitcher
Function · 0.90
Header
Function · 0.90
Footer
Function · 0.90
BetaNotice
Function · 0.90
ScenariosSection
Function · 0.90
HeroSection
Function · 0.90
OneMoreThingSection
Function · 0.90
FeaturesSection
Function · 0.90
DocsLayout
Function · 0.90
QuickStart
Function · 0.90
TroubleshootingPage
Function · 0.90
LimitationsPage
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected