Skip to content

Language Parameter Not Provided To Collabora Conversion API #5165

@ksaadDE

Description

@ksaadDE

Please update me when this is fixed, as it annoyed users in my cloud env - with me being unable to fix it without studying all the code and APIs.

copy from issue: CollaboraOnline/online#12773

I think its a bug or smth like that.
Where does collabora pull the language and locale for nextcloud folder view -> right click -> save as pdf from? 
Seemingly, no language or locale setting works!
Your forum is so utterly broken, one is unable to even post images or links properly.


how to test?

1. open test.xlsx
3. go to insert & click on header/footer
5. put the datetime top right (right area); custom format
7. you see the format as your set language in nextcloud! keep that in mind
9. now close the document, click right click on it in nextcloud folder view and click on save as → export as pdf
11. Check the exported pdf’s date (click on it for preview). It shows the wrong date format

https://forum.collaboraonline.com/t/asap-language-settings-calc-documents-xslx-save-as-pdf-locale-setting/3990

Version is v24.04.10.1.1 collabora/code

answer by maintainers (?)

Collabora Online's [Conversion API](https://sdk.collaboraonline.com/docs/conversion_api.html) can take language parameter. But Nextcloud's richdocuments app does not send it.
This works as expected.

curl -k -F "[email protected]" -F "lang=de-DE" http://localhost:9980/cool/convert-to/pdf > datum.pdf
So this is a richdocuments bug after all.
cc @elzody

by @timar see CollaboraOnline/online#12773 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developWaiting for a developerbugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions