stable-diffusion-webui-loca.../README.md

213 lines
14 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# stable-diffusion-webui-localization-zh_CN
Simplified Chinese translation extension , Used for [AUTOMATIC1111's stable diffusion webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
## 简体中文(Simplified Chinese)
简体中文翻译扩展,适用于 [stable diffusion webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
**此分支由 御坂桜 [@anne43983959](https://github.com/anne43983959) 为主要翻译与维护。各项用词规范与原版稍有不同。**
此分支已保留适当的英文词汇,不推荐与 [Bilingual Localization](https://github.com/journey-ad/sd-webui-bilingual-localization) 共同使用,可能造成界面臃肿
【待翻新】 ~~[术语表](Terminology.md) - [已知问题](Known-Bug.md)~~
【待翻新】~~[webUI中文Wiki文档](https://github.com/dtlnor/stable-diffusion-webui-localization-zh_CN/wiki)~~
## 已翻译扩展
<details>
<summary>持续更新中</summary>
- [x] [composable-lora / LoRA修饰限制](https://github.com/a2569875/stable-diffusion-webui-composable-lora)
- [x] [controlnet / 扩散控制网络](https://github.com/Mikubill/sd-webui-controlnet)
- [x] [images-browser / 图库浏览器](https://github.com/AlUlkesh/stable-diffusion-webui-images-browser)
- [x] [Multidiffusion / 分块多重扩散](https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111)
- [x] [tagcomplete / tag自动补全](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete)
- [x] [two-shot/latent couple / 画面分区(Latent Couple)](https://github.com/ashen-sensored/stable-diffusion-webui-two-shot)
- [x] [Civitai-Helper / C站助手](https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper)
- [x] [kitchen-theme / Kitchen 主题](https://github.com/canisminor1990/sd-web-ui-kitchen-theme)
- [x] [prompt-all-in-one / 提示词管理](https://github.com/Physton/sd-webui-prompt-all-in-one)
- [x] [lora-block-weight / LoRA权重分层设置插件](https://github.com/hako-mikan/sd-webui-lora-block-weight)
- [x] [zoomimage / 页内图片浏览缩放控件](https://github.com/viyiviyi/stable-diffusion-webui-zoomimage)
- [x] [sd_shutdown_button / 一键退出按钮](https://github.com/EnsignMK/sd_shutdown_button)
- [x] [Toolkit / 模型工具包](https://github.com/arenasys/stable-diffusion-webui-model-toolkit)
</details>
<details>
<summary>暂停更新</summary>
- [x] [cutoff / 色彩分离](https://github.com/hnmr293/sd-webui-cutoff)
- [x] [3d-open-pose-editor / 3D OpenPose 编辑器](https://github.com/nonnonstop/sd-webui-3d-open-pose-editor)
- [x] [Config-Presets / 预设配置](https://github.com/Zyin055/Config-Presets)
- [x] [system-info / 系统信息](https://github.com/vladmandic/sd-extension-system-info)
- [x] [openpose-editor / OpenPose 编辑器](https://github.com/fkunn1326/openpose-editor)
- [x] [After DetailerAdetailer / 细节修复](https://github.com/Bing-su/adetailer)
- [x] [sd-webui-comfyui / 嵌入式 ComfyUI 插件](https://github.com/ModelSurge/sd-webui-comfyui)
- [x] [PBRemTools / PBRem背景去除](https://github.com/mattyamonaca/PBRemTools)
- [x] [wd14-tagger / WD1.4 Tag反推](https://github.com/picobyte/stable-diffusion-webui-wd14-tagger)
- [x] [ML-Danbooru / MLDanbooru Tag反推](https://github.com/7eu7d7/ML-Danbooru-webui.git)
- [x] [SuperMerger / SuperMerger](https://github.com/hako-mikan/sd-webui-supermerger)
- [x] [sd-ratio-lock / 画面比例控件](https://github.com/bit9labs/sd-ratio-lock)
</details>
<details>
<summary>已弃用</summary>
- [ ] [Cozy-Nest / Cozy-Nest主题](https://github.com/Nevysha/Cozy-Nest)
- [ ] [grid_add_image_number / 图片序号标注插件](https://github.com/AlUlkesh/sd_grid_add_image_number)
- [ ] [aesthetic-scorer / 美学评分插件](https://github.com/vladmandic/sd-extension-aesthetic-scorer)
- [ ] [pixelization / 像素化插件](https://github.com/AUTOMATIC1111/stable-diffusion-webui-pixelization)
- [ ] [tokenizer / 词元分析器](https://github.com/AUTOMATIC1111/stable-diffusion-webui-tokenizer)
- [ ] [vram-estimator / 显存评估](https://github.com/space-nuko/a1111-stable-diffusion-webui-vram-estimator)
- [ ] [Dataset Tag Editor / 数据集 Tag 编辑器](https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor)
- [ ] [lycoris / LyCORIS插件](https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris)
- [ ] [Local Latent upscaLer / 局部细化](https://github.com/hnmr293/sd-webui-llul)
- [ ] [locon / LoCon插件](https://github.com/KohakuBlueleaf/a1111-sd-webui-locon)
- [ ] [Hires.fix+ / 高分辨率修复+](https://github.com/lihaoyun6/sd-webui-Hires-fix-Plus)
- [ ] [auto-translate-language / 自动翻译](https://github.com/hyd998877/stable-diffusion-webui-auto-translate-language)
- [ ] [novelai-2-local-prompt / novelai 转 webui 括号](https://github.com/animerl/novelai-2-local-prompt)
- [ ] [depth-lib / 深度图编辑插件](https://github.com/jexom/sd-webui-depth-lib)
- [ ] [rembg / 背景去除插件](https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg)
- [ ] [merge-block-weighted / 分块加权模型合并插件(MBW)](https://github.com/bbc-mc/sdweb-merge-block-weighted-gui)
- [ ] [additional-networks / 附加网络(AddNet)](https://github.com/kohya-ss/sd-webui-additional-networks)
- [ ] [Regional Prompter / 画面分区(Regional Prompter)](https://github.com/hako-mikan/sd-webui-regional-prompter)
- [ ] [bilingual-localization / 双语本地化插件](https://github.com/journey-ad/sd-webui-bilingual-localization)
- [ ] [catppuccin / 界面个性化设置](https://github.com/catppuccin/stable-diffusion-webui)
- [ ] [gelbooru-prompt / Gelbooru标签自动摘录](https://github.com/antis0007/sd-webui-gelbooru-prompt)
- [ ] [model-converter / 模型格式转换](https://github.com/Akegarasu/sd-webui-model-converter)
- [ ] [multiple-hypernetworks / 多超网络加载](https://github.com/antis0007/sd-webui-multiple-hypernetworks)
- [ ] [posex / 3D OpenPose 编辑器(Posex)](https://github.com/hnmr293/posex)
- [ ] [xyplus / X/Y图表 Plus 插件](https://github.com/bbc-mc/sdweb-xyplus)
- [ ] [prompt_translator / 机翻提示词(Prompt Translator)](https://github.com/ParisNeo/prompt_translator)
- [ ] [Token Merging / 词元合并加速](https://github.com/SLAPaper/a1111-sd-webui-tome)
- [ ] [TensorRT / TensorRT支持插件](https://github.com/AUTOMATIC1111/stable-diffusion-webui-tensorrt)
- [ ] [vectorscope-cc / Vectorscope CC 调色器](https://github.com/Haoming02/sd-webui-vectorscope-cc)
</details>
## 贡献
- 如果你觉得有些翻译很奇怪,或者希望某个扩展被汉化,可以在 qq 群里交流,群号 [418316375](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=thuOC8Ptq5xMV2AwyXwPgnTwMumDBrAP&authKey=DiYFGSuBpaFkMvzx4IyO7J3RD4wq4hvVrz%2BIa8wHuZ6%2F3EK9BH3R0XOweb0oRv%2By&noverify=0&group_code=418316375)Anne分支[703219445](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=BXSQ51FJ1Tx3VIjWsC3nt1PoVtZh1_Se&authKey=iTeH%2FHeGSo6HCNNnefh%2FsrBNnY%2F%2BeSx73%2BX1uTc4e4TGYkordrWQz1nH8Ll77RAe&noverify=0&group_code=703219445));又或者[提交一个新issue](https://github.com/dtlnor/stable-diffusion-webui-localization-zh_CN/issues/new/choose)
- 如果你想添加一些尚未支持的扩展、脚本的翻译欢迎pr
## Credit
- 所有的 contributor 以及 collaborator
- [@anne43983959](https://github.com/anne43983959)
## 如何安装webUI简体中文语言包主分支
<details>
<summary>新版本 webui 安装方法【点击展开】</summary>
### 1. 通过官方扩展列表安装(需要切换分支)
此扩展可以在 **Extension** 选项卡里面通过加载官方插件列表直接安装
- 点击 `Extension` 选项卡,点击 `Avaliable` 子选项卡
- **取消勾选** `localization`,再把其他勾上,然后点击 **橙色按钮**,如下图
![image](https://user-images.githubusercontent.com/21131439/220507253-65b91219-05ac-4932-a129-0fcd1e55ffaa.png)
-`zh_CN Localization` 这一项的右边点击 `install`
![image](https://user-images.githubusercontent.com/21131439/220507520-77eab48a-272b-4a06-a38a-ca721181092f.png)
- 安装完成,跳转到 [如何切换分支](#如何切换分支)
### 2. 或者,通过网址安装(需要切换分支)
- 点击 `Extension` 选项卡,点击 `Install from URL` 子选项卡
- 复制本 git 仓库网址:
```
https://github.com/dtlnor/stable-diffusion-webui-localization-zh_CN
```
- 粘贴进 URL 栏,点击 `Install`,如图
![image](https://user-images.githubusercontent.com/60730393/202898107-e207d645-e446-456c-8a5b-6dd400eba480.png)
- 安装完成,跳转到 [如何切换分支](#如何切换分支)
### 3. 又或者,直接下载然后放在对应路径(无法自动更新)
- [下载本 git 仓库](https://github.com/dtlnor/stable-diffusion-webui-localization-zh_CN/archive/refs/heads/Anne.zip)为 zip 档案
![image](https://user-images.githubusercontent.com/60730393/202898203-8f4265ff-efc1-4cb4-887a-86af291c000e.png)
- 解压,并把文件夹放置在 webui 根目录下的 `extensions` 文件夹中,放好之后应该会如下图
![image](https://user-images.githubusercontent.com/60730393/202898631-e4f6b3e2-b1d2-4258-b003-3142597fff3b.png)
- 安装完成,跳转到 [如何使用](#如何使用)
</details>
<details>
<summary>2022年旧版本 webui 安装方法【点击展开】</summary>
### 1. 通过官方扩展列表安装【旧版】(需要切换分支)
此扩展可以在 **extension** 选项卡里面通过加载官方插件列表直接安装
- 点击 `extension` 选项卡,点击 `Avaliable` 子选项卡
- **取消勾选** `localization`,然后点击 **橙色按钮**,如下图
![image](https://user-images.githubusercontent.com/60730393/202897956-484e2aaa-89db-4612-8e69-8d76458e23d0.png)
-`zh_CN Localization` 这一项的右边点击 `install`
![image](https://user-images.githubusercontent.com/60730393/202897890-cd502e8d-dee0-48f8-835a-c3446cfb526c.png)
- 安装完成,跳转到 [如何切换分支](#如何切换分支)
### 2. 或者,通过网址安装【旧版】(需要切换分支)
- 点击 `extension` 选项卡,点击 `Install from URL` 子选项卡
- 复制本 git 仓库网址:
```
https://github.com/dtlnor/stable-diffusion-webui-localization-zh_CN
```
- 粘贴进 URL 栏,点击 `Install`,如图
![image](https://user-images.githubusercontent.com/60730393/202898107-e207d645-e446-456c-8a5b-6dd400eba480.png)
- 安装完成,跳转到 [如何切换分支](#如何切换分支)
### 3. 又或者,直接下载然后放在对应路径【旧版】(无法自动更新)
- [下载本 git 仓库](https://github.com/dtlnor/stable-diffusion-webui-localization-zh_CN/archive/refs/heads/Anne.zip)为 zip 档案
![image](https://user-images.githubusercontent.com/60730393/202898203-8f4265ff-efc1-4cb4-887a-86af291c000e.png)
- 解压,并把文件夹放置在 webui 根目录下的 `extensions` 文件夹中,放好之后应该会如下图
![image](https://user-images.githubusercontent.com/60730393/202898631-e4f6b3e2-b1d2-4258-b003-3142597fff3b.png)
- 安装完成,跳转到 [如何使用](#如何使用)
</details>
## 如何切换分支
**要使用此分支的汉化,需要手动切换插件的分支**
- 打开插件的 `安装目录`(一般为 `根目录\extensions\stable-diffusion-webui-localization-zh_CN`
-`地址栏` 输入 `cmd`,按 `回车`
- 输入 `git checkout Anne`,按 `回车`
- 分支切换完成,跳转到 [如何使用](#如何使用)
## 如何使用
> 2022 旧版 webui [点这里](#如何使用旧版)
**确保扩展已经正确加载**
- 重启webUI以确保扩展已经加载了
-`Settings` 选项卡,点击 **页面右上角**的 **橙色 `Reload UI` 按钮** 刷新扩展列表
![image](https://user-images.githubusercontent.com/21131439/220509147-89b29802-2f9f-4db2-a21d-2dc99afa2d96.png)
-`Extensions` 选项卡,确定已勾选本扩展☑️;如未勾选,勾选后点击**橙色按钮**启用本扩展。
![image](https://user-images.githubusercontent.com/21131439/220509469-5c2af595-aece-4405-88f4-eb0638f8f22a.png)
**选择简体中文语言包zh_CN**
-`Settings` 选项卡中,找到 `User interface` 子选项
![image](https://user-images.githubusercontent.com/21131439/220509760-b8680fcd-9673-47e3-ba47-2ae0baf41d51.png)
- 然后去页面最底部(`1.5`版本起为页面最顶部),找到 `Localization (requires restart)` 小项,找到在下拉选单中选中 `zh_CN` (如果没有就按一下🔄按钮),如图
![image](https://user-images.githubusercontent.com/21131439/220510690-4445c0bc-b70b-4943-b69c-270faa7cffc1.png)
- 然后按一下 页面顶部左边的 **橙色 `Apply settings` 按钮** 保存设置,再按 右边的 **橙色 `Reload UI` 按钮** 重启webUI
![image](https://user-images.githubusercontent.com/21131439/220510486-90a1cf87-345b-48a7-8286-26dc02c0634e.png)
</details>
## 如何使用【旧版】
<details>
<summary> 2022年旧版本 webui【点击展开】</summary>
**重启webUI以启用扩展**
-`Settings` 选项卡,点击 **页面底部**的 **橙色按钮** 刷新扩展列表
-`Extensions` 选项卡,确定已勾选本扩展☑️;如未勾选,勾选后点击**橙色按钮**启用本扩展。
**选择简体中文语言包zh_CN**
-`Settings` 选项卡中,找到 `Localization (requires restart)` 小项,然后在下拉选单中选中 `zh_CN` (如果没有就按一下🔄按钮),如图
![image](https://user-images.githubusercontent.com/60730393/202900620-263cbdd3-0559-4b08-acd6-29570add8a3f.png)
- 然后按一下 页面顶部的 **橙色按钮** 保存设置,再按 页面底部的 **橙色按钮** 重启webUI
![image](https://user-images.githubusercontent.com/60730393/202901412-26765c04-e69c-4beb-a56b-9e310ed273ca.png)
![image](https://user-images.githubusercontent.com/60730393/202901401-de7d34e9-67c6-4f39-8f5f-b0c0c7a58b54.png)
</details>