cookieY / Yearning

🐳 A most popular sql audit platform for mysql
http://next.yearning.io/
GNU Affero General Public License v3.0
8.53k stars 2k forks source link

[Question] 最新版本怎么修改语种为中文 #1095

Open showsmall opened 2 months ago

showsmall commented 2 months ago

描述问题 最新版本怎么修改语种为中文

复现 重现该行为的步骤:

  1. 最新版本怎么修改语种为中文

期望的结果 最新版本怎么修改语种为中文

截图

部署方式

环境 (请填写环境信息):

额外的日志信息 在这里添加有关该问题的所有日志。

Issues-translate-bot commented 2 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Question] How to change the language of the latest version to Chinese

Describe the problem How to change the language to Chinese in the latest version

Recurrence Steps to reproduce the behavior:

  1. How to change the language to Chinese in the latest version

Desired results How to change the language to Chinese in the latest version

screenshot

Deployment method

Environment (please fill in environmental information):

Additional log information Add all logs about the issue here.

cookieY commented 2 months ago

https://github.com/cookieY/Yearning/blob/9d15028b6c906716cd3761c1842eb9f6ecb5485c/conf.toml.template#L12

dellnoantechnp commented 1 month ago

在 Dockerfile 中默认有 Y_LANG 环境变量,需覆盖该环境变量值为 Y_LANG=zh_CN

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


There is a Y_LANG environment variable by default in the Dockerfile. The value of this environment variable needs to be overwritten to Y_LANG=zh_CN.