Skip to content

Buttons not translated #33

Open
Open
@sfarkas1988

Description

@sfarkas1988

Hey guys, my buttons (ok, cancel, clear) are not translated properly and I cannot find any way to overwrite the text of the buttons.
Following my code to render DateInput in german. Besides of the buttons everything else is translated properly.

`import deLocale from "date-fns/locale/de";
import DateFnsUtils from '@date-io/date-fns';
import {DateInput} from 'react-admin-date-inputs';

<DateInput
alwaysOn
source="startDate"
label="Start"
parse={dateParser}
providerOptions={{ utils: DateFnsUtils, locale: deLocale }}
options={{ format: 'dd.MM.YYYY', clearable: true }}
/>`

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions