【翻译保护标签<ph type="x-smartling-placeholder">】
就是 类似 一种保护模式
<ph type="x-smartling-placeholder">Submit</ph> Submit

翻译流程
│
├── 原始文档
│ └── "Click the Submit button to save changes"
│
├── 添加保护标记
│ └── "Click the <ph type="x-smartling-placeholder">Submit</ph> button to save changes"
│
├── 翻译处理
│ │ ↓ 可以翻译
│ ├── "Click the" → "点击"
│ │ ↓ 被保护,不翻译
│ ├── "<ph>Submit</ph>" → "<ph>Submit</ph>"
│ │ ↓ 可以翻译
│ └── "button to save changes" → "按钮保存更改"
│
└── 最终结果
└── "点击 Submit 按钮保存更改"
常见的需要保护的内容:
- 代码片段
- 命令行指令
- API 名称
- 配置项
- 变量名
- 技术术语
这就像给重要内容加了一个"不翻译"的标签,确保它们在翻译过程中保持原样。

浙公网安备 33010602011771号