Skip to content
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

Buttons not translated #33

Open
sfarkas1988 opened this issue Jul 9, 2019 · 0 comments
Open

Buttons not translated #33

sfarkas1988 opened this issue Jul 9, 2019 · 0 comments

Comments

@sfarkas1988
Copy link

sfarkas1988 commented Jul 9, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant