Aias00 commented on issue #2692:
URL: https://github.com/apache/hertzbeat/issues/2692#issuecomment-2351593468

   > > > > > Hello,I want to try it.
   > > > > 
   > > > > 
   > > > > 👍 Hi, it is recommended to still store the `app name` in the 
database unchanged, and add a match from the monitoring template yml mapping 
content when searching.
   > > > 
   > > > 
   > > > Hi,my idea is add new column TRANSLATIONS in table HZB_ALERT_DEFINE 
for store translate content with en-US、zh-CN、zh-TW. Then I will add request 
params in web front when new threshold rules. TRANSLATIONS paramas styles like 
it that "{ "en-US": "Prometheus Task / Monitor Availability", "zh-CN": 
"Prometheus任务 / 监控可用性", "zh-TW": "Prometheus任务 / 監控可用性" }". It will match this 
params when searching. What do you about it?
   > > 
   > > 
   > > no, don not need to add any column, cause u can translate the search 
content to saved content
   > 
   > OK,I can new yml to translate the search contnet to saved content. Like 
this pic below 
![image](https://private-user-images.githubusercontent.com/83876361/367583713-978a1229-e366-47af-9e40-f78d42a6bbc0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjY0MDcwNDAsIm5iZiI6MTcyNjQwNjc0MCwicGF0aCI6Ii84Mzg3NjM2MS8zNjc1ODM3MTMtOTc4YTEyMjktZTM2Ni00N2FmLTllNDAtZjc4ZDQyYTZiYmMwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTE1VDEzMjU0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJlMGNiNGZmYWMzMTE5NTY2OTdlNGM2YWZhZmQxMDFlNTkzZWVjMGExMjZkODA5NDE5YTBlYWIwMzM3ZGE1ZDImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8Tv9_7HPYFfNDarWuQCra0M1N75IwPvF36f66yTHjXA)
   
   hi, maybe u can try i18n. Search this keyword in project~


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to