Skip to content

useBrowserLanguage ​

Category
Browser

Hook that returns the current browser language

typescript
import { useBrowserLanguage } from '@siberiacancode/reactuse';

Usage ​

typescript
const browserLanguage = useBrowserLanguage();

Demo ​

Api ​

Returns

string

Contributors ​

Source • Demo