Skip to content

fix: pass language to Collabora file conversions - #5973

Open
xhon-pelushi wants to merge 1 commit into
nextcloud:mainfrom
xhon-pelushi:fix/5165-conversion-lang
Open

fix: pass language to Collabora file conversions#5973
xhon-pelushi wants to merge 1 commit into
nextcloud:mainfrom
xhon-pelushi:fix/5165-conversion-lang

Conversation

@xhon-pelushi

Copy link
Copy Markdown

Summary

  • Pass the current user locale to Collabora file conversions as a BCP 47 lang parameter.
  • Send conversion options as separate multipart fields (not merged into the file part).
  • Add focused PHPUnit coverage for language + multipart option payload.

Fixes #5165

Test plan

  • Save-as PDF (or other conversion) with a non-English locale and confirm locale-sensitive formatting uses the right language.
  • composer run test:unit for the new conversion tests when PHP tooling is available.

Fixes nextcloud#5165

Signed-off-by: xhon-pelushi <xhon@pelushi.com>
@xhon-pelushi
xhon-pelushi force-pushed the fix/5165-conversion-lang branch from 1e7d66e to 767e2da Compare August 14, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Language Parameter Not Provided To Collabora Conversion API

1 participant