Created attachment 1806636 [details] 'more' is hardcode and not translated in Simplified Chinese language. Description of problem: In Home->Events Dashboard, 'more' and 'Show Less' are hardcodes when the browser set to Chinese language or other languages. Version-Release number of selected component (if applicable): 4.8.2 How reproducible: Steps to Reproduce: 1.Login OpenShift Web console 2.The language preference set to Simplified Chinese language 3.In Administrator, access Home->Events dashboard 3.In Events, check some resource filters, in resource bar, 'more' is hardcode and not translated in Simplified Chinese language. 4.Click 'more' button, display the selected resources, 'Show Less' is hardvode and not translated too. Actual results: 'more' and 'Show Less' are hardcodes when the browser set to Chinese language or other languages. Expected results: 'more' and 'Show Less' are translatable when the browser set to Chinese language or other languages. Additional info:
Created attachment 1806637 [details] 'Show Less' is hardcode and not translated in Simplified Chinese language.
Created attachment 1806638 [details] 'more' in search view
Created attachment 1806639 [details] 'Show Less' in search view
Most likely these are the default messages from PatternFly, and we're need to pass our own strings to the PF components.
Hey @xiyuzhao - I added screenshots to GitHub of the 'show more' and 'show less' changes. I don't use the nightly builds though.
Hi @ralpert add more comments on Github
The issue which is not fixed on Home -> Search page mentioned in the comment will tracking in Bug 1990193 The reported issue of Home-> Events page which about 'more' and 'Show Less' button has been fixed and verified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759