Skip to content

Conversation

comfyui-wiki
Copy link
Member

No description provided.

@github-actions
Copy link
Contributor

Multi-Language Index Validation Results

Why this matters: All language versions must have the same templates with identical structural properties to ensure users get the same functionality regardless of their language preference. Only titles, descriptions, and other display text should differ between languages.

Validation Report:

[detached HEAD c7ea13a] Auto-fix multi-language index inconsistencies in 6 language files
 6 files changed, 341 insertions(+), 4697 deletions(-)
✅ Auto-fixed 2 missing templates in ja
✅ Auto-fixed 2 missing templates in fr
✅ Auto-fixed 2 missing templates in zh-TW
✅ Auto-fixed 20 missing templates in ko
✅ Auto-fixed 2 missing templates in zh
✅ Auto-fixed 2 missing templates in ru
✅ Auto-committed fixes for 6 files
# ComfyUI Template Multi-Language Index Validation Report

## Summary
- Total language files: 8
- Successfully loaded: 8
- Reference template count (English): 136
- Languages with missing templates: 0
- Languages with extra templates: 0
- Languages with structure mismatches: 0
- Languages with category mismatches: 1
- Auto-fixed files: 6

## ✅ Auto-Fixed Missing Templates
The following missing templates were automatically copied from index.json:
- **ja**: Added 2 templates - video_wan2_2_14B_fun_inpaint, video_wan2_2_14B_fun_control
- **fr**: Added 2 templates - video_wan2_2_14B_fun_inpaint, video_wan2_2_14B_fun_control
- **zh-TW**: Added 2 templates - video_wan2_2_14B_fun_inpaint, video_wan2_2_14B_fun_control
- **ko**: Added 20 templates - flux_redux_model_example, api_rodin_multiview_to_model, flux1_krea_dev
  (and 17 more)
- **zh**: Added 2 templates - video_wan2_2_14B_fun_inpaint, video_wan2_2_14B_fun_control
- **ru**: Added 2 templates - video_wan2_2_14B_fun_inpaint, video_wan2_2_14B_fun_control

**Changes have been automatically committed.** Please translate the English content in these templates.

## Language Files
- **en**: `index.json`
- **es**: `index.es.json`
- **fr**: `index.fr.json`
- **ja**: `index.ja.json`
- **ko**: `index.ko.json`
- **ru**: `index.ru.json`
- **zh**: `index.zh.json`
- **zh-TW**: `index.zh-TW.json`

## ❌ Category Count Mismatches
- **ko**: Has 17 categories (should be 13)

❌ Multi-language validation failed

✅ Automatic Fixes Applied

Missing templates have been automatically copied from index.json to the affected language files and committed to this PR. These templates contain English content that needs manual translation.

Next Steps:

  1. Review the auto-generated commit in this PR
  2. Translate the English content in the affected language files:
    • Update title and description fields to the target language
    • Keep all other properties (mediaType, thumbnailVariant, tags, etc.) identical
  3. Do not modify structural properties - only translate display text

❌ Additional Issues Found

Some issues could not be auto-fixed and require manual attention:

Manual Fixes Required:

  1. Extra templates: Remove extra templates or add them to the English reference file if they should exist
  2. Structure mismatches: Ensure properties like mediaType, thumbnailVariant, tags, models, etc. match exactly across all languages
  3. Category mismatches: Ensure all language files have the same number and structure of categories

Files to Update:

  • Check all index.*.json files in the templates/ directory
  • Use index.json (English) as the reference for structure and template list
  • Only translate title and description fields - keep all other properties identical

Note: All language versions must be perfectly synchronized to ensure consistent user experience across different languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant