Next Intl
next-intl
Internationalization (i18n) for Next.js
Forms
react
intl
i18n
internationalization
localization
translate
translation
format
formatting
next
Stars
4.4k
Weekly
4.3M
Open issues
55
Bundle
~25 kB
Installation
npm install next-intlCode example
import { useTranslations } from "next-intl";
export function Example() {
const t = useTranslations("Home");
return <h1>{t("title")}</h1>;
}Pros & cons
Pros
- Actively maintained by Jan Amann
- 4.3M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Not supported in React Native
- 55 open issues on GitHub