-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EuiSuperDatePicker] Ensure i18n coverage #5398
Comments
This will probably get covered by #5399. I think all those places mentioned are specific to EuiSuperDatePicker not the plain EuiDatePicker. |
#5399 doesn't catch this one 😞, the mentioned edge case applies in this situation,
For many of these we could extend the lint rule to specify component+prop pairs to also validate (and would need to locate those situations so we can configure them), but that wouldn't catch these tabs either. For this setup, https://github.com/elastic/eui/blob/main/src/components/date_picker/super_date_picker/date_popover/date_popover_content.tsx#L60 const renderTabs = [
{
id: DATE_MODES.ABSOLUTE,
name: 'Absolute',
content: (
<EuiAbsoluteTab
dateFormat={dateFormat}
timeFormat={timeFormat}
locale={locale}
value={value}
onChange={onChange}
roundUp={roundUp}
position={position}
utcOffset={utcOffset}
/>
),
'data-test-subj': 'superDatePickerAbsoluteTab',
'aria-label': `${ariaLabel} Absolute`,
},
...
<EuiTabbedContent
className="euiDatePopoverContent"
tabs={renderTabs}
... we would need an understanding of where |
We just received feedback from a customer using the Looking at the code It's not just missing i18n keys in Kibana's |
++ It would be great if we can prioritize this (even if it was not a full-proof solution for now). especially since we've added French locale in Kibana for the |
Heya @Bamieh! It would be awesome if you could take a quick peek at the before/after screenshots in #5743 and confirm that the upcoming strings available for translations (the ones that are using weird babelfish characters) are all correct. In particular I just want to verify that the number inputs do not need to be translated and are fine remaining as is. Thank you! |
Hey @constancecchen thank you for the follow up! it looks good I only have 1 concern I raised in the PR otherwise LGTM :elasticheart: |
Hello,
The date picker component we use in Kibana is not fully internationalized. The coverage of this component varies between releases (elastic/kibana#63742)
Context: (elastic/kibana#63742 (comment))
The text was updated successfully, but these errors were encountered: