Skip to main content
Participant
November 25, 2023
Question

the previewConfig locale not work

  • November 25, 2023
  • 1 reply
  • 262 views

const previewConfig = {
embedMode: "FULL_WINDOW", locale: "zh-CN"
}

 

document.addEventListener("adobe_dc_view_sdk.ready", function () {
var adobeDCView = new AdobeDC.View({clientId: "my clientid", divId: "adobe-dc-view"});
var previewFilePromise= adobeDCView.previewFile({
content: {location: {url: url}},
metaData: {fileName: "Bodea Brochure.pdf"}
}, previewConfig);

 

but the page tools not in chinse, it always in english.

By the way, is this usage free of charge? As long as it is an online calling method, regardless of what content is being operated on and how many users are accessing it

    This topic has been closed for replies.

    1 reply

    Participant
    November 25, 2023

    <div id="adobe-dc-view"></div>
    <script src="https://acrobatservices.adobe.com/view-sdk/viewer.js"></script>