The i18n label core.euiFilterButton.filterBadge receives a value filterCountLabel that is calculated depending on other value:
https://github.com/elastic/kibana/blob/5f618da802228025b8225ff36222d02c95708230/src/core/public/i18n/i18n_eui_mapping.tsx#L503-L507
The problem is that the hardcoded values are not localized.
I think we can fix that by referencing a new i18n.translate('core.euiFilterButton.filterBadgeActive', { defaultValue: 'active' }) and i18n.translate('core.euiFilterButton.filterBadgeAvailable', { defaultValue: 'available' })
The i18n label
core.euiFilterButton.filterBadgereceives a valuefilterCountLabelthat is calculated depending on other value:https://github.com/elastic/kibana/blob/5f618da802228025b8225ff36222d02c95708230/src/core/public/i18n/i18n_eui_mapping.tsx#L503-L507
The problem is that the hardcoded values are not localized.
I think we can fix that by referencing a new
i18n.translate('core.euiFilterButton.filterBadgeActive', { defaultValue: 'active' })andi18n.translate('core.euiFilterButton.filterBadgeAvailable', { defaultValue: 'available' })