Localization fields for PDFViewer

Hello,


Could someone please help me with the localization fields for the PDFViewer control?


Thanks in advance!


1 Reply

DM Dhivyabharathi Mohan Syncfusion Team July 26, 2021 12:20 PM UTC

Hi Alexandre, 
 
 
Thank you for contacting Syncfusion support. 
 
 
In our PDF Viewer, we can provide the localization for the form-fields using the locale property. We have shared the sample and code snippet for your reference. 
 
 
 
 
Run the web service and then run the Javascript sample. 
 
 
 
 
Code snippet: 
 
viewer.locale = 'pt-BR'; 
 
 
L10n.load({ 
  'pt-BR': { 
    PdfViewer: { 
      Textbox: 'caja de texto', 
      Password: 'Clave', 
      'Check Box': 'Caja', 
      'Radio Button': 'boton de radio', 
      Dropdown: 'desplegable', 
      'List Box': 'cuadro de lista', 
      'Draw Signature': 'Assinar Documento', 
      'Delete FormField': 'eliminar campo de formulario' 
    } 
  } 
}); 
 
 
 
 
Kindly try this and revert us, if you have any concerns. 
 
 
Regards, 
Dhivya. 


Loader.
Up arrow icon