惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
量子位
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
T
Tailwind CSS Blog
GbyAI
GbyAI
爱范儿
爱范儿
Y
Y Combinator Blog
宝玉的分享
宝玉的分享
有赞技术团队
有赞技术团队
罗磊的独立博客
Recent Announcements
Recent Announcements
博客园 - 司徒正美
M
MIT News - Artificial intelligence
小众软件
小众软件
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
B
Blog RSS Feed
A
About on SuperTechFans
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
雷峰网
雷峰网

Sanity.io

A Board Game agent built using Sanity Context and Vercel's AI SDK | Sanity Build a prototype with Claude Code that your whole team can edit | Sanity What’s New - May 2026 | Sanity I built a London pub guide with v0 and the Sanity MCP in six hours. Here's what I learned. | Sanity Build a conference concierge with Agent Context and Anthropic | Sanity Build a content-aware Telegram agent with Vercel AI SDK and Chat SDK | Sanity How I used Agent API to generate photos for my family’s recipes | Sanity What’s New April - 2026 | Sanity Better context, better matches: An AI love story (for dogs) | Sanity How to write for an agent | Sanity Content Agent, meet Slack: AI content operations in your workflow | Sanity Structure powers intelligence | Sanity Your agent needs better content. Here's how to give it. | Sanity How to serve content to agents (a field guide) | Sanity Sanity TypeGen GA: Automatic TypeScript types for content and GROQ | Sanity Sanity is now available on the Vercel Marketplace | Sanity The logo soup problem (and how to solve it) | Sanity Content Releases: From scattered updates to coordinated publishing | Sanity What's New - February 2026 | Sanity How we solved the agent memory problem | Sanity v0 Builder Challenge: The winners | Sanity Introducing: Sanity Agent Skills | Sanity Content Agent: Days of work in one conversation | Sanity Our Sanity Values | Sanity Open Source Pledge 2025: Stepping up when it matters | Sanity v0 builder challenge: $3000 in prizes | Sanity Why AI Breaks Without Structured Content Operations | Sanity What’s New January - 2026 | Sanity BFCM 2025: What teams built when infrastructure stopped being the problem | Sanity How AI shaped holiday shopping and what it means for content in 2026 | Sanity
Internationalization is more than translating words | Sanity
Simeon Griggs · 2025-09-02 · via Sanity.io

In Episode 17 of the Code && Content podcast, Jan Amann, creator of next-intl, joined me to discuss how his package went from a part-time hobby to the go-to solution for localization in React applications.

next-intl was created from Jan's real-world experience of developing multi-lingual and multi-region applications and having to copy patterns between projects. Eventually rolling up those patterns into the library we know today.

It even supports the Next.js app router, which, based on React server components, required a major rewrite almost a year in the making.

More than words

Localizing a web application is much more than just translating words on the page. You have to think about currencies, dates, regions versus markets, product availability, cultural expectations and more.

Further, you likely want authors to be able to collaborate and constantly update internationalized content, as well as either automating or commissioning translations.

Internationalization involves layers upon layers of complexity which are non-negotiable for multilingual and multi-market companies.

If there is even a slight chance that your web application will require localization at some point later on, it is best to begin with it in mind as early as possible in a project. Adding you first alternative language is far more difficult than adding a third.

Code-first approach

next-intl is designed to promote best-practice developer experience while still giving you the flexibility to localize your app in the way you like. This pairs perfectly with Sanity Studio schema which is defined in code.

A multi-dimensional content model that takes in considerations of language, regions and markets can't be easily defined by clicking around a settings panel. It is best driven by code.

Your language and market settings can be shared between the content model that configures your editing admin panel and the front-ends your users interact with.

There are official plugins available for Sanity Studio to setup localization in the most common way. But as always you are free to customize your content models however you need.

Resources