nextcloud/richdocuments

Language Parameter Not Provided To Collabora Conversion API

Open

#5,165 opened on Nov 12, 2025

 (0 comments) (0 reactions) (0 assignees)JavaScript (145 forks)auto 404
1. to developbuggood first issue

Repository metrics

Stars
 (452 stars)
PR merge metrics
 (PR metrics pending)

Description

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: https://github.com/CollaboraOnline/online/issues/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 "data=@datum.xlsx" -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 https://github.com/CollaboraOnline/online/issues/12773#issuecomment-3291759719

Contributor guide