Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

the previewConfig locale not work

New Here ,
Nov 24, 2023 Nov 24, 2023

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

256
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 24, 2023 Nov 24, 2023
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources