AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
142.18k stars 26.84k forks source link

[Bug]: Untranslatable strings in current localization #3512

Closed 36DB closed 1 year ago

36DB commented 2 years ago

Is there an existing issue for this?

What happened?

There are some issues with the current localization's basic functionality, I will list them below.

Some strings are untranslatable. I've tried adding them in the JSON myself, but the translated string won't load. The following strings are currently untranslatable.

Upscaler 1 and Upscaler 2 from the extras tab

Several tooltips including

Add a random artist to the prompt. Read generation parameters from prompt or last generation if prompt is empty into user interface. Save styles Apply selected styles to current prompt Do not do anything special Open images output directory Euler Ancestral - very creative, each can get a completely different picture depending on step count, setting steps to higher than 30-40 does not help Denoising Diffusion Implicit Models - best at inpainting Set seed to -1, which will cause a new random number to be used every time Reuse seed from last generation, mostly useful if it was randomed and "vram" in hints.js(This one was just too long to paste here)

Some gr.Radio and gr.CheckboxGroup texts in the settings tab

Select which Real-ESRGAN models to show in the web UI. (Requires restart) Face restoration model Allowed categories for random artists selection when using the Roll button

Also I've noticed that the tooltips for Learninig rate and Sampling Steps doesn't even show up in the vanillia WebUI, but this does require more confirmation.

As stated in https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/3334 the attention hotkey problem still persits too, so that is worth mentioning.

Steps to reproduce the problem

Make a localization JSON file and try to translate the stated strings above.

What should have happened?

The strings should have displayed the translated string.

Commit where the problem happens

6bd6154a92eb05c80d66df661a38f8b70cc13729

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

No response

Additional information, context and logs

No response

36DB commented 2 years ago

@yuuki76 @dtlnor Could you guys also please confirm this issue if possible? This might be a local issue of my environment, so I want to double-check to be sure.

krisfail commented 2 years ago

Could you guys also please confirm this issue if possible? This might be a local issue of my environment, so I want to double-check to be sure.

Reproduced. I think the tooltip was working in a previous commit a while ago.