zhangwei123
推送了 feat/blog-targeted-multilingual-copy 分支的代码到 jerry/web-ui
ed7a05e824 fix(i18n): restore original page copy and refine English forms
Restore the original meaning of homepage, service, contact, footer and
checkout copy across the seven-language visitor/user UI. Remove the extra
homepage service explanation, main-content blog link and disclaimer, and
translate actual product descriptions and card fields instead of replacing
them with generic marketing copy. Keep the approved blog service panel,
its green destination-specific button, and locale-preserving navigation.
Refine 37 explicitly reviewed English form strings using sloptrim 0.9.4:
31 base UI entries and six dynamic schema labels/help strings. Preserve
all other language values during this form pass, along with service terms,
fields, defaults, enums, submitted data, authentication and payment rules.
Document every before/after value and permit only those exact exceptions
in the original-copy guards. Keep the admin language switcher in its
existing English/Chinese scope and adapt the browser checker to locales.
Document Google Search readiness separately from deployment: the normal
tracked production configuration enables indexing and produces 84 public
sitemap URLs; the current live sitemap, robots and blog routes return 404.
Keep default blog previews noindex, private pages noindex/nofollow, the real
production API configuration, and the existing policy copy unchanged.
Record the known guide/refund-policy wording difference for business review.
Validation: blog content/nav/style/readability/current-copy, seven-language
and 262 protected-scope checks, nonincremental TypeScript, release inventory,
normal production build and 126-page HTTP checks all pass. Previous current
source false/true builds and intercepted Chromium form/UI checks also pass.
Full lint still fails on the pre-existing next/core-web-vitals configuration.
No real account, email, order, payment, booking, deployment or Search Console
operation is claimed.
35cfe22565 Apply approved multilingual booking guidance and service copy
e84a62e17e Improve readability of all seven-language visa guides
9cae31f7ac feat(i18n): localize public pages and enable production indexing
为 STRATA 访客和用户页面提供 EN/DE/FR/ES/IT/PT/ZH 七种语言,
完善签证指南的搜索信息和服务入口,并落实已批准的生产索引配置。
页面与导航:
- 英文保留无前缀地址,六种其他语言使用各自 URL;网址决定服务端和客户端语言。
- 首页、服务、名额、联系及政策页面提供对应译文,登录、账户、订单及支付界面同步本地化。
- 语言选择进入同页或同篇文章的对应版本,导航和登录返回地址保留语言、参数及服务编号。
- 服务名称、字段说明和已知状态仅翻译显示值;保持金额、默认值、枚举和提交值不变。
- 修复窄屏长文案和账户操作区溢出,保留原有视觉样式和键盘操作。
博客与搜索:
- 优化现有 21 篇七语文章的标题、摘要、首段回答、操作说明和官方来源表达。
- 保留七个列表页及原文章 slug,复用首页 Navbar,提供逐页 canonical、
双向 hreflang、英文 x-default、OG 和与可见内容一致的结构化数据。
- 在独立第三方指南上方增加绿色 STRATA 引导区,荷兰/希腊/丹麦分别指向
服务 35/34/36 的当前语言页面,保留官方自行预约建议与独立服务声明。
- 在已跟踪的 .env.production 中明确设置 BLOG_INDEXING_ENABLED=true,
生产 sitemap 包含 56 个公开页面和 28 个博客页面,共 84 个 URL。
- 保留生产 API 地址 https://api.text.skin;开发预览默认 noindex、空 sitemap,
显式 false 仍可覆盖生产文件配置。私有用户/后台页面和 404 不允许索引。
范围与依据:
- 管理后台、后端接口、鉴权及支付规则不变;260 项业务保护检查无待审差异。
- 不以读者语言推断国籍,不添加未经核实的名额、退款或获签承诺。
- 官方复核日期保持 2026-10-09;没有新增付费 SEO 查询或虚构实测数据。
- 添加多语言、HTTP、真实浏览器和业务范围验收脚本、公开目录快照及译文审阅材料。
- 忽略本地 QA 输出和 Python 缓存,保留逐 URL 审计、命令结果及已知限制的文档记录。
验证:
- 内容与发布集合、导航、样式、七语完整性、业务范围、TypeScript 检查全部退出 0。
- 两份最终隔离构建退出 0:生产构建读取 .env.production,预览明确关闭索引。
- 两种模式各 126 页 HTTP/SEO 检查退出 0;sitemap 分别为 84/0,
canonical、hreflang、结构化数据、私有响应头、未知路由及 404 均通过。
- 真实 Chromium 检查 84 个生产公开地址;最终七语首页和文章 14 页手机复核通过,
页面错误 0,绿色区顺序正确;249 个源码/配置文件与最终构建逐字节一致。
- 既有七语 UI 验收覆盖 112 页、196 个状态及 21 条文章服务跳转,
用户流程使用模拟 API 数据,未执行真实登录、订单或支付。
- 全项目 lint 仍退出 1:原有 next/core-web-vitals 配置缺失;未声称全项目通过。
- 暂存差异检查通过;纯空白清理的编译结果不变。依赖恢复按既有锁文件进行,
package.json 与 package-lock.json 没有修改。
本次仅提交并推送开发分支;没有合并主干、部署网站或提交 Google Search Console。
317182004f Add six complete blog translations and route-aware language navigation
1 月之前