Repository: stable-diffusion-webui
Issue: [Bug]: Drop-down lists do not display the translated item once selected
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

Once switching the UI to a localized version, with any drop-down selection list for both the main application, the Scripts as well as the Extension, despite the listed items are correctly displayed in the localized language, Italian in my case, if translated, after an item is selected it is displayed back in English language instead of the localization language.

### Steps to reproduce the problem

1. Switch to a localization version of the UI
2. Watch the "Scripts" box in the txt2img (just as an example). The "None" term is displayed if no script is selected.
3. Click on the the field to reveal the list of Scripts. If they have been translated they are correctly listed in the localized language (eg. in Italian)
4. Select any of the translated Scripts titles
5. The Script name is displayed in the original English language and not in the Localized language.

![immagine](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/29801031/66712ffd-bb90-42ac-90f0-c4281470c7b2)

In the above screenshot if no Script is selected the item "None" displayed should have been in the localization version instead, which in Italian was translated as "Niente".

You can see below the entire list of Scripts titles have been translated and if the one corresponding to "Advanced Seed Blending" is selected 
![immagine](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/29801031/fb8c2c0c-5a2d-479e-aac5-43806ebd3ed4)

it is then displayed in the original English language instead of the localization language, as seen below

![immagine](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/29801031/bb1c6efc-f9f3-488f-918f-f8b4d58818e9)


### What should have happened?

The proper localized label should be displayed once an item is selected in a drop-down list.

### Commit where the problem happens

89f9faa63388756314e8a1d96cf86bf5e0663045

### What platforms do you use to access the UI ?

Windows

### What browsers do you use to access the UI ?

Mozilla Firefox

### Command Line Arguments

```Shell
--xformers --opt-split-attention --disable-safe-unpickle --api --allow-code --administrator --medvram --theme dark
```


### List of extensions

![immagine](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/29801031/21ef986f-71ce-4a40-a254-ae729de3a05b)


### Console logs

```Shell
Premere un tasto per continuare . . .
venv "C:\stable-diffusion-webui\venv\Scripts\Python.exe"
Checking for accelerate
Accelerating
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.2.1
Commit hash: 89f9faa63388756314e8a1d96cf86bf5e0663045
Installing requirements

[auto-sd-paint-ext] Commit hash: 00714355890aefa9a09e7fdb1f9a136c46a17618
[auto-sd-paint-ext] Auto-update disabled.

Installing requirements for Batch Face Swap



Fetching updates for midas...
Checking out commit for midas with hash: 1645b7e...

Installing requirements for scikit_learn



Installing requirements for Prompt Gallery

Installing sd-dynamic-prompts requirements.txt




Initializing Riffusion
[Riffusion] Installing requirements...


If submitting an issue on github, please provide the full startup log for debugging purposes.

Initializing Dreambooth
Dreambooth revision: 926ae204ef5de17efca2059c334b6098492a0641
[+] xformers version 0.0.17.dev464 installed.
[+] torch version 1.13.1+cu117 installed.
[+] torchvision version 0.14.1+cu117 installed.
[+] accelerate version 0.18.0 installed.
[+] diffusers version 0.14.0 installed.
[+] transformers version 4.26.1 installed.
[+] bitsandbytes version 0.35.4 installed.

loading Smart Crop reqs from C:\stable-diffusion-webui\extensions\sd_smartprocess\requirements.txt
Checking Smart Crop requirements.

Installing requirements for Seed Travel

Installing requirements for Shift Attention






Launching Web UI with arguments: --xformers --opt-split-attention --disable-safe-unpickle --api --allow-code --administrator --medvram --theme dark
==============================================================================
You are running torch 1.13.1+cu117.
The program is tested to work with torch 2.0.0.
To reinstall the desired version, run with commandline flag --reinstall-torch.
Beware that this will cause a lot of large files to be downloaded, as well as
there are reports of issues with training tab on the latest version.

Use --skip-version-check commandline argument to disable this check.
==============================================================================
=================================================================================
You are running xformers 0.0.17.dev464.
The program is tested to work with xformers 0.0.17.
To reinstall the desired version, run with commandline flag --reinstall-xformers.

Use --skip-version-check commandline argument to disable this check.
=================================================================================
no config file: C:\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Prompt-Translator\prompt_translator.cfg
Scan MarianMT model
No MarianMT folder, no need scan
Loading booru2prompt settings
Loading weights [9012b038a9] from C:\stable-diffusion-webui\models\Stable-diffusion\sd-v1-5-pruned-emaonly_fp16.ckpt
Creating model from config: C:\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(0):
Model loaded in 29.7s (load weights from disk: 27.6s, create model: 0.6s, apply weights to model: 0.6s, apply half(): 0.8s).
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
Hypernetwork-MonkeyPatch-Extension found!
Installing pywin32
Image Browser: ImageReward is not installed, cannot be used.
patched in extra network ui page: deltas
patched in extra network: deltas
1920 1080
1030
INFO:     Started server process [19488]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:5173 (Press CTRL+C to quit)
INFO:     127.0.0.1:58371 - "GET / HTTP/1.1" 200 OK
add tab
*Deforum ControlNet support: enabled*
CUDA SETUP: Loading binary C:\stable-diffusion-webui\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cudaall.dll...
INFO:     127.0.0.1:58395 - "GET / HTTP/1.1" 200 OK
INFO:     127.0.0.1:58395 - "GET /assets/index.bed48b02.js HTTP/1.1" 200 OK
INFO:     127.0.0.1:58396 - "GET /assets/index.4a69cccc.css HTTP/1.1" 200 OK
INFO:     127.0.0.1:58395 - "GET /assets/avatars.yaml HTTP/1.1" 200 OK
INFO:     127.0.0.1:58395 - "GET /assets/tags.yaml HTTP/1.1" 200 OK
INFO:     127.0.0.1:58395 - "GET /assets/default.b2d19cd6.jpg HTTP/1.1" 200 OK
INFO:     127.0.0.1:58395 - "GET /assets/preview/General_ice_high_res/whiteHair.png HTTP/1.1" 404 Not Found
INFO:     127.0.0.1:58396 - "GET /assets/preview/General_fire_high_res/whiteHair.png HTTP/1.1" 404 Not Found
INFO:     127.0.0.1:58397 - "GET /assets/preview/General_celluloid_online_clean/whiteHair.png HTTP/1.1" 404 Not Found
INFO:     127.0.0.1:58399 - "GET /assets/preview/cartoon/whiteHair.png HTTP/1.1" 404 Not Found
INFO:     127.0.0.1:58398 - "GET /assets/preview/ink%20doodle/whiteHair.png HTTP/1.1" 404 Not Found
INFO:     127.0.0.1:58400 - "GET /assets/preview/3dCG/whiteHair.png HTTP/1.1" 404 Not Found
INFO:     127.0.0.1:58395 - "GET /assets/default.b2d19cd6.jpg HTTP/1.1" 200 OK
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
auto-sd-paint-ext:INFO: Add --listen to COMMANDLINE_ARGS to enable usage as a remote backend.
Startup time: 188.8s (import torch: 11.2s, import gradio: 2.4s, import ldm: 1.3s, other imports: 3.0s, list SD models: 8.3s, setup codeformer: 0.5s, load scripts: 86.0s, refresh VAE: 0.1s, create ui: 75.3s, gradio launch: 0.5s, scripts app_started_callback: 0.1s).
```


### Additional information

_No response_