> For the complete documentation index, see [llms.txt](https://docs.i18nifty.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.i18nifty.dev/api-reference.md).

# API Reference

- [useLang](https://docs.i18nifty.dev/api-reference/uselang.md): Hook for changing the currently active language.
- [$lang](https://docs.i18nifty.dev/api-reference/usdlang.md): Set the language at any time, from anywhere.
- [LocalizedString](https://docs.i18nifty.dev/api-reference/localizedstring.md)
- [useTranslation](https://docs.i18nifty.dev/api-reference/usetranslation.md): Returns the usual t function
- [getTranslation](https://docs.i18nifty.dev/api-reference/gettranslation.md): Use the translation function outside of React components.
