# useChangeLanguage

Provide a function to change the current language of every i18next instance registered with the i18nextPlugin instance.

# Reference

const changeLanguage = useChangeLanguage()

# Parameters

None

# Returns

A function to change the current language of an i18nextPlugin instance: (newLanguage) => void.

# Usage

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

const changeLanguage = useChangeLanguage();

changeLanguage("fr-CA");