Closed josegar74 closed 2 months ago
@josegar74 I've duplicated this issue here https://github.com/geonetwork/core-geonetwork/issues/7969 in GeoNetwork 4.2.9 . I'm currently trying to implement your suggestion but not getting anywhere!
Note also that it doesn't seem to return the correct language for the metadata either as far as I can tell.
Closing this ticket, duplicated of #7969
Describe the bug The metadata selection export to PDF always displays the labels, etc. in English, not using the current language selected in the UI.
To Reproduce Steps to reproduce the behaviour:
Export (PDF)
Expected behavior The report labels, etc. are in German
Additional context
Related to the following code. Probably should be changed
location.replace
to use$http
:https://github.com/geonetwork/core-geonetwork/blob/fe06b8843c91b88a85a9e5aa71e8184dad420f61/web-ui/src/main/resources/catalog/components/metadataactions/MetadataActionService.js#L150-L156