mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-26 07:35:44 -03:00
feat(i18n): Implement server-side internationalization support
- Added ServerI18nManager to handle translations and locale settings on the server. - Integrated server-side translations into templates, reducing language flashing on initial load. - Created API endpoints for setting and getting user language preferences. - Enhanced client-side i18n handling to work seamlessly with server-rendered content. - Updated various templates to utilize the new translation system. - Added mixed i18n handler to coordinate server and client translations, improving user experience. - Expanded translation files to include initialization messages for various components.
This commit is contained in:
@@ -373,6 +373,26 @@ export const en = {
|
||||
initialization: {
|
||||
title: 'Initializing LoRA Manager',
|
||||
message: 'Scanning and building LoRA cache. This may take a few minutes...',
|
||||
loras: {
|
||||
title: 'Initializing LoRA Manager',
|
||||
message: 'Scanning and building LoRA cache. This may take a few minutes...'
|
||||
},
|
||||
checkpoints: {
|
||||
title: 'Initializing Checkpoint Manager',
|
||||
message: 'Scanning and building checkpoint cache. This may take a few minutes...'
|
||||
},
|
||||
embeddings: {
|
||||
title: 'Initializing Embedding Manager',
|
||||
message: 'Scanning and building embedding cache. This may take a few minutes...'
|
||||
},
|
||||
recipes: {
|
||||
title: 'Initializing Recipe Manager',
|
||||
message: 'Loading and processing recipes. This may take a few minutes...'
|
||||
},
|
||||
statistics: {
|
||||
title: 'Initializing Statistics',
|
||||
message: 'Processing model data for statistics. This may take a few minutes...'
|
||||
},
|
||||
steps: {
|
||||
scanning: 'Scanning model files...',
|
||||
processing: 'Processing metadata...',
|
||||
|
||||
Reference in New Issue
Block a user