-
Notifications
You must be signed in to change notification settings - Fork 461
Add Persian (Farsi) language support #7876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add Persian (Farsi) language support #7876
Conversation
…s in .i18nrc.cjs\n- Added Persian loaders for all translation files in src/i18n.ts\n- Added Persian option to language settings in coreSettings.ts\n- Created empty Persian locale files (will be populated by CI)\n- Added Persian-specific translation guidelines
📝 WalkthroughWalkthroughThis PR adds support for the Persian (fa) locale by registering it in the i18n configuration, creating locale-specific JSON files for translation content, adding dynamic loaders for Persian resources, and including Persian as a language option in core settings. Changes
Possibly related PRs
✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (7)
🧰 Additional context used📓 Path-based instructions (7)**/*.{ts,tsx,vue,js,jsx,json,css}📄 CodeRabbit inference engine (AGENTS.md)
Files:
src/**/*.{vue,ts}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
src/**/*.ts📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
src/**/*.{ts,tsx,vue}📄 CodeRabbit inference engine (src/CLAUDE.md)
Files:
src/**/*.{vue,ts,tsx}📄 CodeRabbit inference engine (src/CLAUDE.md)
Files:
**/*.{ts,tsx,vue}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (12)📓 Common learnings📚 Learning: 2025-12-09T04:35:43.971ZApplied to files:
📚 Learning: 2025-12-08T01:21:41.368ZApplied to files:
📚 Learning: 2025-11-24T19:47:34.324ZApplied to files:
📚 Learning: 2025-11-24T19:47:02.860ZApplied to files:
📚 Learning: 2025-12-21T06:04:12.562ZApplied to files:
📚 Learning: 2025-12-09T03:39:54.501ZApplied to files:
📚 Learning: 2025-12-13T11:03:11.264ZApplied to files:
📚 Learning: 2025-12-17T00:40:09.635ZApplied to files:
📚 Learning: 2025-12-30T22:22:33.836ZApplied to files:
📚 Learning: 2025-12-11T12:25:15.470ZApplied to files:
📚 Learning: 2025-11-24T19:47:45.616ZApplied to files:
🔇 Additional comments (8)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |

Description
This PR adds Persian (Farsi) language support to ComfyUI.
Changes
fato output locales in.i18nrc.cjswith Persian-specific translation guidelinessrc/i18n.tssrc/platform/settings/constants/coreSettings.tssrc/locales/fa/directory (will be populated by the CI translation system)Translation Guidelines
The Persian translation will follow these guidelines:
Testing
The configuration has been tested to ensure:
Notes
Following the contribution guidelines in
src/locales/CONTRIBUTING.md, the empty translation files will be automatically populated by the CI system using OpenAI. Persian-speaking contributors can review and refine these translations after the automated generation.Special names to keep untranslated: flux, photomaker, clip, vae, cfg, stable audio, stable cascade, stable zero, controlnet, lora, HiDream, Civitai, Hugging Face
┆Issue is synchronized with this Notion page by Unito