Hide Forgot
This bug is created for an issue that is not being fixed on Bug 1986754. The issue of 'more' and 'Show Less' is not being translated also needs to check on Home -> Search page
We are not using the ChipGroup component on the Search page. Instead, we're using it indirectly using a different PatternFly component. I suspect we will need to file a bug with PatternFly to get access to the props needed to pass in the translated text.
I took a look at the PatternFly code and we'll need to add additional props to the ToolbarFilter component so we can pass in internationalized text to the ToolbarFilter's internal ChipGroup. This fix may take a bit since we'll have to get it into PatternFly, upgrade, and then make the update on our end. I can get started on the PF side though.
PatternFly PR is here: https://github.com/patternfly/patternfly-react/pull/6138 We'll have to wait for it to merge before we can do anything else for this particular bug.
My PatternFly PR is included in @patternfly/react-core release 4.148.1. We are currently on @patternfly/react-core" 4.135.15. We will need to upgrade in order to fix this bug on the OpenShift side.
Spoke to Joe Caiani and he said we upgrade on every major PF release. The next release will be around 8/23, depending when the PF team completes testing and the OS team completes integration testing. This bug won't be able to move until we upgrade to a version that contains the fix.
We still haven't upgraded PF yet and can't move further on this bug.
We are currently on "@patternfly/react-core": "4.147.2", but require 4.148.1+ to fix this bug. It may be another month before we can address this in OpenShift.
It looks like a colleague just updated us, so I will try to get this fix up today!
This bug has been fixed and verified on payload 4.10.0-0.nightly-2021-09-23-210724 Verification Steps: 1. Login OpenShift Web console 2. The language preference set to Simplified Chinese language 3. In Administrator, access Home -> Search dashboard 3. In Events, check some resource filters, in resource bar, 'more' is hardcoded and not translated in Simplified Chinese language. 4. Click 'more' button, display the selected resources, 'Show Less' is hardcode and not translated too. Result: 'more' and 'Show Less' have been translated to the correct language.
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.10.3 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-2022:0056