# useCurrentLanguage

Retrieve the current language of the i18nextPlugin instance.

# Reference

const language = useCurrentLanguage()

# Parameters

None

# Returns

The current language of the i18nextPlugin instance.

# Usage

import { useCurrentLanguage } from "@squide/i18next";

const language = useCurrentLanguage();

Or with a typed language:

import { useCurrentLanguage } from "@squide/i18next";
import { LanguageKey } from "@sample/shared";

const language = useCurrentLanguage() as LanguageKey;