Skip to main content

create-a-multilingual-site

Create a multilingual site with durable locale URLs, translation governance, correct metadata, and language-aware interaction. Use when one service must publish and maintain equivalent experiences across languages or regions.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
create-a-multilingual-site
category
web
description
Create a multilingual site with durable locale URLs, translation governance, correct metadata, and language-aware interaction. Use when one service must publish and maintain equivalent experiences across languages or regions.
# create-a-multilingual-site Make language a first-class content state, not a string replacement pass. ## When to use - Use for translated sites, regional variants, bidirectional languages, or locale-specific formats and terms. - Separate language from country, currency, and legal region unless the product explicitly couples them. ## Procedure 1. Define supported locales, audience, source language, URL strategy, default, fallback, ownership, and release parity expectations. 2. Use stable locale-specific URLs and a visible language switcher that links to the equivalent page or explains when none exists. 3. Set document and fragment language, direction, locale metadata, canonical, reciprocal `hreflang`, sitemap, and status behavior. 4. Externalize messages with context, variables, plural and gender rules, and no sentence fragments that translators must reorder blindly. 5. Build a translation workflow with source version, status, reviewer, glossary, screenshots, legal review, and stale-content detection. 6. Localize dates, numbers, names, addresses, units, currencies, collation, forms, search, media, and error messages. 7. Support longer text, different line breaking, fonts, input methods, right-to-left layout, mirrored and non-mirrored icons, and zoom. 8. Do not redirect solely from IP or browser language; offer a choice and preserve deep links and user preference. 9. Test navigation, forms, search, authentication, checkout, emails, sharing, structured data, fallback, and missing translations. 10. Include fluent reviewers and representative users for high-risk journeys, then monitor locale-specific failures without collecting unnecessary identity data. ## Failure plan - If a critical translation is missing, use an explicit approved fallback and label the language rather than mixing silent partial translations. - If reciprocal metadata or equivalent routes are wrong, withhold those annotations until mapping is correct. ## Done - A locale architecture records URLs, mappings, fallbacks, formats, translation state, owners, and release rules - Linguistic, functional, accessibility, and metadata tests verify each supported locale and critical journey - An operations report detects stale, missing, broken, or inaccessible localized content and records remediation
在 GitHub 查看