Tarsier LabsTarsier Labs
🐵
首页
分类
标签
收藏
关于
返回标签列表

next-intl

0 篇文章

NestJS + Next.js 零侵入多语言架构:从 37 处修改到 1 处,从 8 小时到 5 分钟

NestJS + Next.js 零侵入多语言架构:从 37 处修改到 1 处,从 8 小时到 5 分钟

00
系统架构
浏览器语言检测链:Next.js 三层架构实现自动语言推送

浏览器语言检测链:Next.js 三层架构实现自动语言推送

本文详细阐述了一个三层的浏览器语言检测链架构,涵盖 Middleware Cookie 设置、i18n request.ts 解析和客户端 I18nProvider 同步,以及 Monorepo 中两个 Next.js 应用的差异化实现。

00
系统架构
admin-next LanguageProvider——向后兼容的 next-intl 桥接层

admin-next LanguageProvider——向后兼容的 next-intl 桥接层

A deep dive into the admin-next LanguageProvider — a backward-compatible shim that bridges next-intl with the legacy codebase. Covers the useLanguage hook, setLocale with cookie-based persistence, the getLocalizedValue utility, and migration strategy from custom i18n to next-intl.

00
管理后台