Skip to content

Commit 9f3a4b0

Browse files
committed
docs: Improve blog post wording
1 parent 7e7011d commit 9f3a4b0

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

docs/src/pages/blog/next-intl-4-0.mdx

+12-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import StayUpdated from '@/components/StayUpdated.mdx';
1111

1212
(this post is still a draft)
1313

14-
After a year of feature development, this release mostly aims to clean up the API surface to ensure `next-intl` remains lean—there should be no big surprises. Many significant improvements have already been shipped in [minor versions](/blog/next-intl-3-22) previously. However, this release also comes with a series of improvements that you might find useful.
14+
After a year of feature development, this release focuses on streamlining the API surface while maintaining the lean core architecture of `next-intl`. While many major improvements were already released in [previous minor versions](/blog/next-intl-3-22), this update introduces several valuable enhancements that will improve your development experience and make working with internationalization even more seamless.
1515

1616
Here's what's new in `next-intl@4.0`:
1717

@@ -20,7 +20,7 @@ Here's what's new in `next-intl@4.0`:
2020
3. [**Strictly-typed ICU arguments**](#strictly-typed-icu-arguments)
2121
4. [**GDPR compliance**](#gdpr-compliance)
2222
5. [**Modernized build output**](#modernized-build-output)
23-
6. [**Preparation for upcoming Next.js features**](#nextjs-future)
23+
6. [**Preparation for upcoming Next.js features**](#nextjs-ppr-dynamicio)
2424

2525
Please also have a look at the [other breaking changes](#other-breaking-changes) before you [upgrade](#upgrade-now).
2626

@@ -38,8 +38,8 @@ import en from './messages/en.json';
3838

3939
declare module 'next-intl' {
4040
interface AppConfig {
41-
Formats: typeof formats;
4241
Messages: typeof en;
42+
Formats: typeof formats;
4343
}
4444
}
4545
```
@@ -194,7 +194,7 @@ The build output of `next-intl` has been modernized and now leverages the follow
194194

195195
With these changes, the bundle size of `next-intl` has been reduced by ~7% ([all details](https://github.com/amannn/next-intl/pull/1470)).
196196

197-
## Preparation for upcoming Next.js features [#nextjs-future]
197+
## Preparation for `ppr` and `dynamicIO` [#nextjs-ppr-dynamicio]
198198

199199
To ensure that the sails of `next-intl` are set for a steady course in the upcoming future, I've investigated the implications of upcoming Next.js features like [Partial Prerendering](https://nextjs.org/docs/app/api-reference/next-config-js/ppr) and [`dynamicIO`](https://nextjs.org/docs/canary/app/api-reference/config/next-config-js/dynamicIO) for `next-intl`.
200200

@@ -240,10 +240,16 @@ Afterwards, you can upgrade by running:
240240
npm install next-intl@v4-beta
241241
```
242242

243-
## Thank you
243+
If you need help, you can refer to the [examples](/examples) which have all been updated.
244+
245+
## Thank you!
244246

245-
I want to sincerely thank everyone who has helped to make `next-intl` what it is today. A special thank you goes to <PartnerContentLink href="https://crowdin.com/">Crowdin</PartnerContentLink>, the primary sponsor of `next-intl`, enabling me to regularly work on this project.
247+
I want to sincerely thank everyone who has helped to make `next-intl` what it is today.
248+
249+
A special thank you goes to <PartnerContentLink href="https://crowdin.com/">Crowdin</PartnerContentLink>, the primary sponsor of `next-intl`, enabling me to regularly work on this project and provide it as a free and open-source library for everyone.
246250

247251
—Jan
248252

253+
PS: Have you heard that [learn.next-intl.dev](https://learn.next-intl.dev) is coming?
254+
249255
<StayUpdated />

docs/src/pages/docs/workflows/typescript.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ TypeScript currently has a [limitation](https://github.com/microsoft/TypeScript/
203203
}
204204
```
205205

206-
2. Enable the `createMessagesDeclaration` setting in your Next.js config:
206+
2. Configure the `createMessagesDeclaration` setting in your Next.js config:
207207

208208
```tsx filename="next.config.mjs"
209209
import {createNextIntlPlugin} from 'next-intl/plugin';

0 commit comments

Comments
 (0)