-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add translation to the field title for csv and xlsx export #17353
base: 11.x
Are you sure you want to change the base?
Add translation to the field title for csv and xlsx export #17353
Conversation
Review Checklist
|
This comment has been minimized.
This comment has been minimized.
recheck |
This reverts commit 7d8016e.
…lation-for-csv-and-xlsx-export # Conflicts: # models/DataObject/Service.php
Quality Gate passedIssues Measures |
Hey @kevinloeber-twocream I tried to test it, but could not make it work. How should the translation work in general? I tried it with label and also system key but it never got translated. |
Hey @mattamon , I have added two text fields in my data model as an example, which have a translation key as a label. When I add the fields in the grid view, the translations are displayed in Pimcore, but when I export the grid view as csv, only the translation keys are displayed and not the translations. |
@kevinloeber-twocream hmm okay I switched to your branch and still does not get translated for me. |
Changes in this pull request
Added that when exporting csv or xlsx files, the translation of the column names is specified and not the normal name
Additional info
So that the CSV and XLSX export in the GridView displays the names of the fields as column names. There is an adjustment to the input mask of the exports with a checkbox whether you want to use the field titles. There is also an adjustment to the export process to translate the field titles.