File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,13 +11,9 @@ export_languages:
1111files :
1212 - source : /locales/zh-CN/*.json
1313 translation : /locales/%locale%/%original_file_name%
14- excluded_target_languages :
15- - ko
1614
1715 - source : /prompts/zh-CN/**/*.prompt
1816 translation : /prompts/%locale%/**/%original_file_name%
19- excluded_target_languages :
20- - ko
2117
2218 - source : /dashboard/src/i18n/locales/zh.json
2319 translation : /dashboard/src/i18n/locales/%two_letters_code%.json
Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ Prompt 加载规则:
116116- 下面这两条是本仓库的 repository-specific 校验策略,不是 Crowdin 默认行为。
117117- 不要手工把中文 source 文案直接复制进目标语言文件后提交。
118118- 英文 locale 文件中不应保留中文字符;这类残留会被校验脚本拦截。
119+ - Python 项目后续新增的 ` ko ` locale 也遵循同样规则。
119120- ` dashboard/src/i18n/locales/en.json ` / ` ja.json ` / ` ko.json ` 也遵循同样规则。
120121
121122### 什么时候可以直接改目标语言文件
@@ -171,6 +172,11 @@ python scripts/i18n_extract_candidates.py
171172- ` prompts/zh-CN/**/*.prompt `
172173- ` dashboard/src/i18n/locales/zh.json `
173174
175+ 对于 Python 项目:
176+
177+ - ` locales/zh-CN/*.json ` 的目标语言现在也包含韩语,不再排除 ` ko `
178+ - ` prompts/zh-CN/**/*.prompt ` 的目标语言现在也包含韩语,不再排除 ` ko `
179+
174180对于 dashboard:
175181
176182- Crowdin 下载结果会回写到 ` dashboard/src/i18n/locales/en.json ` 、` ja.json ` 、` ko.json `
You can’t perform that action at this time.
0 commit comments