next-translate 2.4.1 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -963,7 +963,7 @@ At Next-translate, we have chosen not to re-implement this functionality, as we
|
|
|
963
963
|
|
|
964
964
|
- Add the dynamic path `[lang]` to the first level. That is, all your pages will be inside `/app/[lang]`.
|
|
965
965
|
- 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).
|
|
966
|
-
- Update all the pages inside `i18n.(js|
|
|
966
|
+
- Update all the pages inside `i18n.(js|json)` file to contain the `/[lang]` at the beginning.
|
|
967
967
|
|
|
968
968
|
```diff
|
|
969
969
|
module.exports = {
|