Skip to content

[Bug]: face_restoration_model and realesrgan_enabled_models are ignore by localization #12232

@daxijiu

Description

@daxijiu

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

in setting "Face restoration model" and "Select which Real-ESRGAN models" to show in the web UI.
and in extras "upscaler 1 & 2" are ignore by localization
such as
image
I noticed in the javascript/localization.js

var ignore_ids_for_localization = {
    setting_sd_hypernetwork: 'OPTION',
    setting_sd_model_checkpoint: 'OPTION',
    modelmerger_primary_model_name: 'OPTION',
    modelmerger_secondary_model_name: 'OPTION',
    modelmerger_tertiary_model_name: 'OPTION',
    train_embedding: 'OPTION',
    train_hypernetwork: 'OPTION',
    txt2img_styles: 'OPTION',
    img2img_styles: 'OPTION',
    setting_random_artist_categories: 'SPAN',
    setting_face_restoration_model: 'SPAN',
    setting_realesrgan_enabled_models: 'SPAN',
    extras_upscaler_1: 'SPAN',
    extras_upscaler_2: 'SPAN',
};

they are set to be ignore, why?
I tried changing it to OPTION and it seems to be working fine?

Steps to reproduce the problem

Use any localization plugin to view the above location.

What should have happened?

Perhaps these locations should be localizable.

Version or Commit where the problem happens

Version: v1.5.1

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Windows

What device are you running WebUI on?

Nvidia GPUs (RTX 20 above)

Cross attention optimization

xformers

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

No

List of extensions

stable-diffusion-webui-inception-localization-zh_CN | https://github.com/daxijiu/stable-diffusion-webui-inception-localization-zh_CN

Console logs

no need

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-reportReport of a bug, yet to be confirmed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions