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 features and docs.
TODO
Future explorations
This list acts as my personal todo list that I want to share for transparency, but please be sure to comment here if you have feedback for the feature:
→ #2036
With
next-intl@4.5, there's now experimental support foruseExtracted.The next phase will be to collect feedback, fix bugs, potentially incorporate changes and fill in the gaps for missing features and docs.
TODO
next buildthough, as we're currently in a fire-and-forget mode for async extraction and it's tough to fail the process from there (next buildcallsprocess.exit(0), so evenbeforeExithandlers don't work—only way would be to overrideprocess.exit). Workaround: Checkgit statusafternext buildyourself.addDependency/addContextDependencyinstead of watcher? Or emit/collect./cause Google crawler 404 errors #2250useExtractedto further improve transform performance #2187)next-intl? This would be a minor breaking change. People can guard against this though witht.has.msgidfor .po to be ID or source message (ref 1, ref 2). Should we accept ID-less messages and generate them on demand?useTranslations?Future explorations
tsrcPathautomatically (like Tailwind)use-intl(related to ☂️ Umbrella: Support for other frameworks #1863)This list acts as my personal todo list that I want to share for transparency, but please be sure to comment here if you have feedback for the feature:
→ #2036