https://github.com/iamdevvalecha/with-next-translate
https://github.com/iamdevvalecha/with-next-translate
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iamdevvalecha/with-next-translate
- Owner: iamdevvalecha
- Created: 2021-04-14T18:08:02.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-14T18:08:10.000Z (almost 5 years ago)
- Last Synced: 2025-06-11T19:40:23.219Z (9 months ago)
- Language: JavaScript
- Homepage: with-next-translate-git-master-iamdevvalecha.vercel.app
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# next-translate example
This is an example of using [next-translate](https://github.com/vinissimus/next-translate) in a Next.js project.
## Deploy your own
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
[](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-next-translate&project-name=with-next-translate&repository-name=with-next-translate)
## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
```bash
npx create-next-app --example with-next-translate with-next-translate-app
# or
yarn create next-app --example with-next-translate with-next-translate-app
```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
## Notes
This example is a basic starting point for using [next-translate](https://github.com/vinissimus/next-translate) with Next.js.
It's a tool to translate Next.js applications respecting the [Automatic Static Optimization](https://nextjs.org/docs/advanced-features/automatic-static-optimization). Deploy static sites with full i18n support!