/peecto

Primary LanguageTypeScript

next-translate example

This is an example of using next-translate in a Next.js project.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Using create-next-app

Execute create-next-app with npm or Yarn to bootstrap the example:

npm init next-app --example with-next-translate with-next-translate-app
# or
yarn create next-app --example with-next-translate with-next-translate-app

Download manually

Download the example:

curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-next-translate
cd with-next-translate

Install it and run:

npm install
npm run dev
# or
yarn
yarn dev

Deploy it to the cloud with Vercel (Documentation).

Notes

This example is a basic starting point for using next-translate with Next.js. It's a tool to translate Next.js applications respecting the Automatic Static Optimization. Deploy static sites with full i18n support!