mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-23 16:24:06 +00:00
## Summary Adds a base model filter to the FormDropdown component, allowing users to filter dropdown options by base model type. ## Changes - **Base model filter**: New filter popover in FormDropdownMenuActions that lets users select one or more base models to filter by - **Clear Filters button**: Added to the base model filter popover for quick reset - **Button component refactor**: Replaced native `<button>` elements with the `Button` component for consistent styling - **New i18n key**: Added `assets.baseModel` translation ## Files Changed - `FormDropdownMenuActions.vue` - Main implementation of base model filter UI - `WidgetSelectDropdown.vue` - Passes base model options to the dropdown - `FormDropdown.vue`, `FormDropdownMenu.vue`, `FormDropdownMenuFilter.vue` - Prop threading - `filterTypes.ts`, `types.ts` - Type definitions for filter options ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8501-feat-add-base-model-filter-to-FormDropdown-2f96d73d3650813c994debb06070c7dd) by [Unito](https://www.unito.io) --------- Co-authored-by: Amp <amp@ampcode.com>
Internationalization (i18n)
Our project supports multiple languages using vue-i18n. This allows users around the world to use the application in their preferred language.
Supported Languages
- en (English)
- zh (中文)
- ru (Русский)
- ja (日本語)
- ko (한국어)
- fr (Français)
- es (Español)
- tr (Türkçe)
How to Add a New Language
Want to add a new language to ComfyUI? See our detailed Contributing Guide with step-by-step instructions and confirmed working process.
Quick Start
- Open an issue or reach out on Discord to request a new language
- Follow the technical process or ask for help
- Our CI will automatically generate translations using OpenAI
- Become a maintainer for your language
File Structure
Each language has 4 translation files in src/locales/[language-code]/:
main.json- Main UI textcommands.json- Command descriptionssettings.json- Settings panelnodeDefs.json- Node definitions