Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: more i18n language support | 更多种类的语言支持 #956

Open
3 tasks done
Molunerfinn opened this issue Aug 21, 2022 · 0 comments
Open
3 tasks done

Comments

@Molunerfinn
Copy link
Owner

Molunerfinn commented Aug 21, 2022

前置阅读 | Pre-reading

PicGo的版本 | PicGo Version

v2.3.1-beta.5

系统信息 | System Information

All

功能请求 | Feature request

PicGo 将在 v2.3.1-beta.6 中对外开放 i18n (多语言)能力。目前内置的两种格式的语言支持:

  • zh-CN -> 简体中文
  • en -> English

可以参考 贡献指南,欢迎大家贡献更多的内置语言文件~

同时,PicGo 在 v2.3.1-beta.6 对外开放的 i18n(多语言)能力还支持读取外置语言文件。PicGo 将读取配置文件所在目录下的 i18n 文件夹里的 yml 文件。如果你放置在这里的 yml 文件格式符合要求(参考 贡献指南),那么也会被 PicGo 加载至语言列表中。


PicGo will provide i18n (multilingual) capabilities in v2.3.1-beta.6. Currently built-in language support for two formats:

  • zh-CN -> 简体中文
  • en -> English

You can refer to Contribution Guide, you are welcome to contribute more built-in language files~

At the same time, PicGo's i18n (multi-language) capability opened to the outside world in v2.3.1-beta.6 also supports reading external language files. PicGo will read the yml file in the i18n folder in the directory where the PicGo configuration file is located. If the yml file you put here is in the required format (refer to the Contribution Guide), it will also be loaded into the language list by PicGo.

预览 | Preview

i18n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant