Skip to content

Commit

Permalink
Merge pull request #376 from ONLYOFFICE/feature/convert-region
Browse files Browse the repository at this point in the history
region to convert service
  • Loading branch information
LinneyS authored Mar 11, 2022
2 parents 194b64c + 57dec08 commit 31b8ed0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/documentservice.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ function SendRequestToConvertService($document_uri, $from_extension, $to_extensi
"outputtype" => trim($to_extension, "."),
"filetype" => $from_extension,
"title" => $document_revision_id . "." . $from_extension,
"key" => $document_revision_id
"key" => $document_revision_id,
"region" => str_replace("_", "-", \OC::$server->getL10NFactory("")->get("")->getLanguageCode())
];

if ($this->config->UseDemo()) {
Expand Down

0 comments on commit 31b8ed0

Please sign in to comment.