You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@hertzbeat.apache.org by "Uin17 (via GitHub)" <gi...@apache.org> on 2025/02/11 01:30:33 UTC
[I] [Question] 国际化的使用 [hertzbeat]
Uin17 opened a new issue, #3069:
URL: https://github.com/apache/hertzbeat/issues/3069
### Question
请问一下当前系统中,在代码中有些国际化在模板语言包中未定义,但实际运行后能正常实现国际化,通过代码我定位到是通过 【fanyi】方法实现的, 但是查找资料后未能发现该方法的更多运用,想请教下作者在本监控系统中,是如何实现的?
例子:功能【自定义看板】的表格表头中【monitor.app.mysql.metrics.topic_detail.metric.PartitionNum】在模板json中未定义,通过 fanyi方法国际化化,正常展示中文为【分区数量】,英文为【PartitionNum】。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org
For additional commands, e-mail: notifications-help@hertzbeat.apache.org
Re: [I] [Question] 国际化的使用 [hertzbeat]
Posted by "zqr10159 (via GitHub)" <gi...@apache.org>.
zqr10159 commented on issue #3069:
URL: https://github.com/apache/hertzbeat/issues/3069#issuecomment-2650816333

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org
For additional commands, e-mail: notifications-help@hertzbeat.apache.org
Re: [I] [Question] 国际化的使用 [hertzbeat]
Posted by "Uin17 (via GitHub)" <gi...@apache.org>.
Uin17 commented on issue #3069:
URL: https://github.com/apache/hertzbeat/issues/3069#issuecomment-2652370158
好的,感谢
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org
For additional commands, e-mail: notifications-help@hertzbeat.apache.org
Re: [I] [Question] 国际化的使用 [hertzbeat]
Posted by "zqr10159 (via GitHub)" <gi...@apache.org>.
zqr10159 commented on issue #3069:
URL: https://github.com/apache/hertzbeat/issues/3069#issuecomment-2650550301
https://github.com/apache/hertzbeat/blob/master/web-app/src/assets/i18n/zh-CN.json
https://github.com/apache/hertzbeat/blob/master/web-app/src/assets/i18n/en-US.json
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org
For additional commands, e-mail: notifications-help@hertzbeat.apache.org
Re: [I] [Question] 国际化的使用 [hertzbeat]
Posted by "zqr10159 (via GitHub)" <gi...@apache.org>.
zqr10159 closed issue #3069: [Question] <title>国际化的使用
URL: https://github.com/apache/hertzbeat/issues/3069
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@hertzbeat.apache.org
For additional commands, e-mail: notifications-help@hertzbeat.apache.org