HooksuseLangReturns the user’s current browser language based on their settings.useLang Installation CLInpx rehooks-cli@latest add useLang Usage Component.tsximport { useLang } from "~/hooks/useLang"; function Component() { const lang = useLang(); return <p>Current Language: {lang}</p>; } API useLang useLang.tsfunction useLang(): string; Returns the current language of the user's browser. Returns NameTypeDescriptionlangstringThe current language code (e.g., 'en-US', 'fr', etc.).PrevioususeKeyPressNextuseLocalStorage