Skip to content

Commit

Permalink
update next blog link
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Nov 6, 2023
1 parent e60876a commit 6e4e695
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
If you are using next-i18next *(pages directory)* in production and like to unleash some super powers, you may have a look at [this blog post](https://locize.com/blog/next-i18next/).
[![](https://locize.com/blog/next-i18next/next-i18next.jpg)](https://locize.com/blog/next-i18next/)

If you're using Next.js 13/14 with app directory, there is no need for next-i18next, you can directly use i18next and react-i18next, like described [in this blog post](https://locize.com/blog/next-13-app-dir-i18n/).
[![](https://locize.com/blog/next-13-app-dir-i18n/next-13-app-dir-i18n.jpg)](https://locize.com/blog/next-13-app-dir-i18n/)
If you're using Next.js 13/14 with app directory, there is no need for next-i18next, you can directly use i18next and react-i18next, like described [in this blog post](https://locize.com/blog/next-app-dir-i18n/).
[![](https://locize.com/blog/next-app-dir-i18n/next-app-dir-i18n.jpg)](https://locize.com/blog/next-app-dir-i18n/)

## What is this?

Expand Down
2 changes: 1 addition & 1 deletion examples/simple/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Homepage = (
<a href={t('blog.appDir.link')}>
<img
style={{ width: '50%' }}
src="https://locize.com/blog/next-13-app-dir-i18n/next-13-app-dir-i18n.jpg"
src="https://locize.com/blog/next-app-dir-i18n/next-app-dir-i18n.jpg"
/>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"appDir": {
"question": "Are you using the new Next.js 13/14 app directory?",
"answer": "Then check out <1>this blog post</1>.",
"link": "https://locize.com/blog/next-13-app-dir-i18n/"
"link": "https://locize.com/blog/next-app-dir-i18n/"
},
"optimized": {
"question": "Do you like to unleash some super powers to have all side optimized translations?",
Expand Down

0 comments on commit 6e4e695

Please sign in to comment.