Closed cheer021 closed 3 years ago
The ListBox
components should all accept a translateWithId
prop that can be used to implement globalization. Here is a quick example:
const listBoxMenuIconTranslationIds = {
'close.menu': 'Translated Close text ',
'open.menu': 'Translated Open text ',
'clear.all': 'Clear all',
'clear.selection': 'Clear selection',
};
<Dropdown
...
translateWithId={(id) => listBoxMenuIconTranslationIds[id]}
/>
carbon-components
carbon-components-react
Detailed description
[List] List control has a hard-coded "Open menu" and "Close menu" tooltip and not compatible with globalization
Dropdown control https://www.carbondesignsystem.com/components/dropdown/usage
Either
Chrome - this is a cross-browser issue
IBM Cognos Analytics: This issue is not gating our release
Steps to reproduce the issue
Additional information