Skip to content

Commit

Permalink
update README.md miskate
Browse files Browse the repository at this point in the history
  • Loading branch information
aralroca committed Jun 25, 2023
1 parent 5bbfb10 commit 01eecab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ At Next-translate, we have chosen not to re-implement this functionality, as we
- Add the dynamic path `[lang]` to the first level. That is, all your pages will be inside `/app/[lang]`.
- If you need more control over which languages to support, or to detect the browser language, use the [middleware](https://nextjs.org/docs/app/building-your-application/routing/internationalization#routing-overview) that the Next.js team [recommends here](https://nextjs.org/docs/app/building-your-application/routing/internationalization#routing-overview).
- Update all the pages inside `i18n.(js|ts)` file to contain the `/[lang]` at the beginning.
- Update all the pages inside `i18n.(js|json)` file to contain the `/[lang]` at the beginning.
```diff
module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-translate",
"version": "2.4.1",
"version": "2.4.2",
"description": "Tiny and powerful i18n tools (Next plugin + API) to translate your Next.js pages.",
"license": "MIT",
"keywords": [
Expand Down

0 comments on commit 01eecab

Please sign in to comment.