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

191 lines
11 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)
***推荐与 [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] [美术风格梯度](https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients)
- [x] [通配符](https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards)
- [x] [动态提示词](https://github.com/adieyal/sd-dynamic-prompts)
- [x] [dreambooth 插件](https://github.com/d8ahazard/sd_dreambooth_extension)
- [x] [智能预处理](https://github.com/d8ahazard/sd_smartprocess)
- [x] [图库浏览器](https://github.com/yfszzx/stable-diffusion-webui-images-browser)
- [x] [生成过程动画](https://github.com/vladmandic/sd-extension-steps-animation)
- [ ] [灵感](https://github.com/yfszzx/stable-diffusion-webui-inspiration)
- [ ] [Deforum](https://github.com/deforum-art/deforum-for-automatic1111-webui)
- [ ] [艺术家图库](https://github.com/camenduru/stable-diffusion-webui-artists-to-study)
- [ ] [美术风格评分](https://github.com/tsngo/stable-diffusion-webui-aesthetic-image-scorer)
- [ ] [数据集标签编辑器](https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor)
- [ ] [画图工具插件](https://github.com/Interpause/auto-sd-paint-ext)
- [x] [训练图挑选器](https://github.com/Maurdekye/training-picker)
- [x] [非文本(代码化)提示词](https://github.com/ThereforeGames/unprompted)
- [ ] [风格加码](https://github.com/some9000/StylePile)
- [ ] [Booru 标签(tag)自动补全](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete)
- [x] [Tag自动补全](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete)
- [x] [novelai 转 webui 括号](https://github.com/animerl/novelai-2-local-prompt)
- [x] [词元分析器(tokenizer)](https://github.com/AUTOMATIC1111/stable-diffusion-webui-tokenizer)
- [x] [镜像潜空间图像](https://github.com/dfaker/SD-latent-mirroring)
- [x] [embedding 编辑器](https://github.com/CodeExplode/stable-diffusion-webui-embedding-editor)
- [x] [种子变迁](https://github.com/yownas/seed_travel)
- [x] [关注转移](https://github.com/yownas/shift-attention)
- [x] [检测细致化](https://github.com/dustysys/ddetailer.git)
- [x] [提示词变迁](https://github.com/Kahsolt/stable-diffusion-webui-prompt-travel)
- [x] [高分辨率修复原图调节强度]( https://github.com/dtlnor/stable-diffusion-webui-conditioning-highres-fix.git)
- [x] [随机化](https://github.com/stysmmaker/stable-diffusion-webui-randomize.git)
- [x] [自动 TLS-HTTPS](https://github.com/papuSpartan/stable-diffusion-webui-auto-tls-https.git)
- [x] [梦作家](https://github.com/7eu7d7/DreamArtist-sd-webui-extension.git)
- [ ] [Waifu Diffusion 1.4 标签器](https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git)
- [ ] [booru转提示词](https://github.com/Malisius/booru2prompt)
- [ ] [合并面板](https://github.com/bbc-mc/sdweb-merge-board)
- [ ] [多主体渲染器](https://github.com/Extraltodeus/multi-subject-render)
- [ ] [深度图转蒙版](https://github.com/Extraltodeus/depthmap2mask)
- [ ] [Cross-Attention 可视化](https://github.com/benkyoujouzu/stable-diffusion-webui-visualize-cross-attention-extension)
</details>
## 已翻译外置脚本
<details>
<summary>待翻新</summary>
- [x] [embedding 转 png](https://github.com/dfaker/embedding-to-png-script)
</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
- 御坂桜
## 如何安装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://codeload.github.com/dtlnor/stable-diffusion-webui-localization-zh_CN/zip/refs/heads/main)为 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://codeload.github.com/dtlnor/stable-diffusion-webui-localization-zh_CN/zip/refs/heads/main)为 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>
## 如何切换分支
**要使用 Anne 分支的汉化,需要手动切换插件的分支**
- 打开插件的 `安装目录`(一般为 `根目录\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` 选项卡中,找到 <code><ins><b>User interface</b></ins></code> 分类的 `User interface` 子选项
![image](https://github.com/user-attachments/assets/412d3ca8-576f-413a-a6bc-65031585e445)
- 然后去页面最顶部(`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>