BookStack
BookStack copied to clipboard
comment count update error
Describe the Bug
when i set application default language to 'zh_CN' or 'zh_TW', then add or delete comment for a page, as a result, the comment count no update and show as below image.


Steps to Reproduce
- set .env file APP_LANG=zh_CN or APP_LANG=zh_TW
- open a page and add some comments
- the comment count no updae
Expected Behaviour
the comment count should update normally
Screenshots or Additional Context
No response
Browser Details
Version 103.0.5060.114 (Official Build) (64-bit)
Exact BookStack Version
v22.06.2
PHP Version
8.0.20
Hosting Environment
Red Hat Enterprise Linux Server release 7.4 (Maipo)
Thanks for reporting @GongMingCai. Done some testing across these languages, based upon that, this should be addressed by commit 9d54cb2254599ae2e506d519f779120d8942eca0 which will be part of the next feature release.