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

Avo specific items from English to dutch in the UI (KampAdmin) #3555

Open
2 of 4 tasks
RafKampAdmin opened this issue Dec 23, 2024 · 2 comments
Open
2 of 4 tasks

Avo specific items from English to dutch in the UI (KampAdmin) #3555

RafKampAdmin opened this issue Dec 23, 2024 · 2 comments

Comments

@RafKampAdmin
Copy link

Context

We want to translate some specific avo items from English to Dutch in the UI:
In the index view at the bottom we have displaying items:
Image

When filtering we have apply:
Image

What are the keys for these so that we can change this? And is it possible to give us a list of all the keys, so that if there are others we can easily change them?

Also when we have as field date_time we get an English date time picker:
Image
-> the months, the days of the week and starting on Sunday (Here we start this on Monday)
-> we have this date picker in the fields at the resources as at the filters
How can we make this Dutch?

Then also at the filters when we have selected the filters we get the English version (When selecting we made it Dutch but then not when we fill it in):
Image
-> when selected (it takes the keys here?)

Image

-> when selecting

System configuration

Avo version: 3.15.3

Rails version: 7.2

License type

  • Community
  • Pro

Are you using Avo monkey patches, overriding views or view components?

  • Yes. If so, please post code samples.
  • No
Copy link
Contributor

github-actions bot commented Jan 8, 2025

This issue has been marked as stale because there was no activity for the past 15 days.

@adrianthedev
Copy link
Collaborator

And is it possible to give us a list of all the keys, so that if there are others we can easily change them?

The keys are available in the translation files in this directory.

Translating the picker

The picker is powered by flatpickr. Please check the documentation on how it's supported on their side. We'll take a PR to make that work.
https://flatpickr.js.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants