Jan's Avatar

Jan

@amann.work

Maintainer of 🌐 https://next-intl.dev · Guest lecturer for React Web Applications at FHV · Partner for User Interface Engineering @jamannnnnn on X

213
Followers
350
Following
235
Posts
04.09.2023
Joined
Posts Following

Latest posts by Jan @amann.work

It should work for this use case too, can you share a reproduction based on github.com/amannn/nextj...?

Maybe I missed something …

There's also github.com/amannn/next-... btw. for sharing such feedback.

05.02.2026 15:50 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

My demo is also using AsyncLocalStorage from Node.js, it's pretty handy!

05.02.2026 14:55 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Not sure if you can really call it a solution since it only works for self-hosted setups :). But yes, global state per request is what this does.

05.02.2026 14:54 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
GitHub - amannn/nextjs-request-store Contribute to amannn/nextjs-request-store development by creating an account on GitHub.

github.com/amannn/nextj...

05.02.2026 08:36 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

Black-magic Next.js hack of the week πŸ§™β€β™‚οΈ

β†’ When self-hosting, you can pass request headers from a custom server to the rendering process without opting into dynamic rendering.

05.02.2026 08:36 πŸ‘ 7 πŸ” 1 πŸ’¬ 2 πŸ“Œ 0

next-intl@4.8.1 is out with a minor fix for Windows, please keep the feedback coming!

30.01.2026 11:03 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

next-intl.dev/blog/precomp...

28.01.2026 17:08 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

🌐 next-intl 4.8 is out with ahead-of-time compilation!

Flip the πš™πš›πšŽπšŒπš˜πš–πš™πš’πš•πšŽ flag and drop ~9KB of compressed JS from your bundles.

28.01.2026 17:08 πŸ‘ 8 πŸ” 1 πŸ’¬ 2 πŸ“Œ 1

With ahead-of-time compilation of messages, while using an ultra-slim AST! It not only decreases your bundle size, but also improves runtime performance. It’s been on my roadmap for a long time, Iβ€˜ll share more in a blog post!

26.01.2026 20:18 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

The slimmest next-intl ever is coming to a πš—πš˜πšπšŽ_πš–πš˜πšπšžπš•πšŽπšœ folder near you this week.

26.01.2026 16:45 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Youβ€˜re gonna love the upcoming next-intl release … This was feature was on the roadmap for 3 years!

22.01.2026 08:21 πŸ‘ 5 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Build international Next.js apps with confidence Learn how to build delightful, multilingual experiences with the official next-intl course.

This is the first batch.

Definitely keep an eye out, as I'll be adding more over time and existing members automatically get access at no extra cost.

Got a tricky setup that isn’t covered yet? Just let me know!

learn.next-intl.dev

14.01.2026 15:23 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
4 templates:
- app-router-auth
- app-router-saas
- app-router-tenants
- app-router-monorepo

4 templates: - app-router-auth - app-router-saas - app-router-tenants - app-router-monorepo

Starter templates are here on 🌐 learn.next-intl.dev!

14.01.2026 15:23 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

code.visualstudio.com/docs/getstar...

07.01.2026 10:46 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

If you're not using πš πš˜πš›πš”πš‹πšŽπš—πšŒπš‘.πšŽπšπš’πšπš˜πš›.πšŒπšžπšœπšπš˜πš–π™»πšŠπš‹πšŽπš•πšœ.πš™πšŠπšπšπšŽπš›πš—πšœ in your IDE yet, you should turn it on today.

07.01.2026 10:46 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Really cool! πŸ™Œ

05.01.2026 06:26 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
About to create the repo on GitHub …

About to create the repo on GitHub …

I'm thinking about adding a set of premium templates for members of 🌐 learn.next-intl.dev

E.g.:
- Auth integrations
- E-commerce integrations
- CMS integrations
- Advanced cases like multi tenancy

Anything you found challenging that you think would be useful to include?

19.12.2025 12:34 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

All good, I surely had to laugh at the hair salon reference πŸ˜„

19.12.2025 09:08 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
This library is PAINFULLY slow on Nextjs, specially when integrating route based locales. DO NOT USE THIS LIBRARY IF YOU'RE NEW TO INTERNATIONALIZATION... Β· amannn next-intl Β· Discussion #2190 I'm sorry but i have to be this guy, if you're new to translations, internationalization, this library is not for you, even if it seems easy to set up, bugs, cache issues, rtl issues, and other stu...

If you're looking for an i18n library that causes a "compile time that takes longer that a hair salon appointment", then I've got your back 🀝

github.com/amannn/next-...

18.12.2025 16:34 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

… and then, you can of course pass the errors to the client side.

17.12.2025 14:14 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Code snippet that demonstrates how to use an error map in Zod 4 for computing errors.

Code snippet that demonstrates how to use an error map in Zod 4 for computing errors.

Contextual, localized error handling in Server Actions with Zod 4 β€” the easy way.

17.12.2025 14:14 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

Many thanks to everyone who is actively helping with feedback to get this to stability as quick as we can. I'm adding a test for every edge case that we discover to make sure this remains fixed once the root cause has been addressed.

16.12.2025 16:47 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Release v4.6.1 Β· amannn/next-intl 4.6.1 (2025-12-16) Bug Fixes Improvements for useExtracted (#2176) (3937e44) – by @amannn

Another week, and another release of next-intl is out with fixes for useExtracted.

In case you're already using this feature, it's recommended to upgrade!

github.com/amannn/next-...

16.12.2025 16:47 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Release v4.6.0 Β· amannn/next-intl 4.6.0 (2025-12-12) Features Custom formats for useExtracted, consistency fixes for file references, pruning of messages and sorting of keys (#2155) (c02818e) – by @amannn

Release notes β†’

github.com/amannn/next-...

12.12.2025 13:51 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
useExtracted (experimental) – Internationalization (i18n) for Next.js Internationalization (i18n) for Next.js

Docs on custom formats β†’

next-intl.dev/docs/usage/e...

12.12.2025 13:51 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

🌐 next-intl@4.6 is out!

You can now define custom codecs for useExtracted if you have more specific needs than what ships out of the box.

This release also includes further fixes for message extraction, so definitely upgrade if you're already adopting this!

12.12.2025 13:51 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Awesome, thanks!

08.12.2025 12:33 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Stabilize `useExtracted` Β· Issue #2087 Β· amannn/next-intl With next-intl@4.5, there's now experimental support for useExtracted. The next phase will be to collect feedback, fix bugs, potentially incorporate changes and fill in the gaps for missing feature...

Fwiw my current todo list is more on the docs side, I’m not aware of currently open bugs: github.com/amannn/next-...

If you have specific questions, don’t hesitate to reach out! (Ideally in the linked discussion, so others can chime in as well)

08.12.2025 12:11 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Cool! I know that some startups have already migrated to useExtracted and it works pretty well for them. I’m dedicated to fix all bugs that appear as quickly as I can. It’s still declared as experimental, but if you’d like to help stabilizing I’d certainly appreciate it.

08.12.2025 12:11 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Unfortunately no πŸ€·β€β™‚οΈ the nextjs 16 blog post hinted at that they’re still working on it … I occasionally reach out, but haven’t heard anything definitive yet

08.12.2025 11:52 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0