Each string of the Angular DocumentViewer can be translated or modified including all tooltips, statusbar strings and dialog boxes. Additionally, the strings that are displayed to guide users through a signature process can be modified. In order to translate the strings of the Angular DocumentViewer, the resources can be directly given in the resources attribute of the component module. The following code shows how to change the button text of the NEXT button when a signature is requested: <tx-document-viewer width = "800px" height = "800px" basePath = "https://backend.textcontrol.com?access-token=yourtoken" documentData = "PGh0bWw+PGJvZHk+PHA+VGVzdDwvcD48L2JvZHk+PC9odG1sPg==" dock = "Window" [toolbarDocked] = "true" documentPath = "test.docx" [isSelectionActivated] = "true" [showThumbnailPane] = "true" [resources] = "{ TX_SIGNATURE_GREETING_NEXT_BTN_TEXT: 'Please click here to continue' }"> </tx-document-viewer> The resources attribute accepts an array of key/value pairs. You can change all strings or just some required strings. The following sample changes the keys TX_PAGE and TX_PAGE_OF to Spanish: <tx-document-viewer width = "800px" height = "800px" basePath = "https://backend.textcontrol.com?access-token=mWSLUkSmxgWH3Rt6sKvS" documentData = "PGh0bWw+PGJvZHk+PHA+VGVzdDwvcD48L2JvZHk+PC9odG1sPg==" dock = "Window" [toolbarDocked] = "true" documentPath = "test.docx" [isSelectionActivated] = "true" [showThumbnailPane] = "true" [resources] = "{ TX_PAGE: 'Página', TX_PAGE_OF: 'de' }"> </tx-document-viewer> The following table lists all keys and their original values that can be modified using the described approach: Key Original value TX_MENU_ANNOTATE_ADDHIGHLIGHTAdds a highlight to the document. TX_MENU_ANNOTATE_STAMPAdds a stamp at the current location. TX_MENU_ANNOTATE_ADDCOMMENTAdds a comment to the current location. TX_MENU_ANNOTATE_BOLDSets the text style to bold. TX_MENU_ANNOTATE_ITALICSets the text style to italic. TX_MENU_ANNOTATE_UNDERLINESets the text style to underline. TX_MENU_ANNOTATE_STRIKESets the text style to strike through. TX_MENU_ANNOTATE_TEXTSTYLEModify the text formatting. TX_MENU_ANNOTATE_DRAWTEXTInserts text into the document. TX_FORMS_BOXThis document contains form fields. TX_FORMS_BOX_BTN_TEXTGo to form TX_FORMS_BOX_BTN_TITLEJump to the first field to complete those fields. TX_MENU_ANNOTATE_COMMENTSToggle comments sidebar TX_MENU_ANNOTATE_DELETEDelete annotation TX_MENU_ANNOTATE_SELECTSelect annotation TX_MENU_ANNOTATE_STYLEOpen the annotation style dialog box TX_MENU_ANNOTATE_OPENToggle the annotation toolbar TX_MENU_ANNOTATE_UNDOUndo last action TX_MENU_ANNOTATE_HIGHLIGHTHighlight text TX_MENU_ANNOTATE_DRAWAnnotate with pen TX_MENU_ANNOTATE_MARKAnnotate with marker TX_MENU_ANNOTATE_ERASERErase marker lines TX_MENU_ANNOTATE_CLEARALLClear all annotations TX_PAGE_SELECTOR_BACKPrevious page TX_PAGE_SELECTOR_NEXTNext page TX_MENU_ZOOMPAGEWIDTHZoom to the page's width. TX_MENU_ZOOMINZoom in TX_MENU_ZOOMOUTZoom out TX_MENU_MOVEPan around the document TX_SIGNATURE_TOOLBAR_AUTOADJUSTAuto adjust signature image TX_SIGNATURE_TOOLBAR_SATURATIONMake all remaining pixels black TX_SIGNATURE_TOOLBAR_CONTRASTIncrease contrast TX_SIGNATURE_TOOLBAR_CONTRASTBACKDecrease contrast TX_SIGNATURE_TOOLBAR_REMOVEBACKGROUNDRemove background TX_SIGNATURE_SETUP_SIGNATURE_UPLOADUpload TX_SIGNATURE_SETUP_SIGNATURE_RESTORERestore TX_SIGNATURE_GREETINGasked you to review and sign this document TX_SIGNATURE_GREETING_NEXTTo start the process of signing this document, please click 'Next' TX_SIGNATURE_GREETING_NEXT_BTN_TEXTNext TX_SIGNATURE_GREETING_NEXT_BTN_TITLEClick 'Next' to continue TX_SIGNATURE_ADD_TITLEAdd Signature TX_SIGNATURE_ADD_SIGNATURE_DESCRIPTIONDRAW YOUR SIGNATURE TX_SIGNATURE_ADD_SIGNATURE_BTN_START_TEXTAdd TX_SIGNATURE_ADD_SIGNATURE_BTN_START_TITLEAdds the signature. TX_SIGNATURE_ADD_SIGNATURE_BTN_CANCEL_TEXTCancel TX_SIGNATURE_ADD_SIGNATURE_BTN_CANCEL_TITLECancel the signature adding. TX_SIGNATURE_SETUP_TITLESetup your Signature TX_SIGNATURE_SETUP_INSTRUCTIONSConfirm your name, initials and your signature TX_SIGNATURE_SETUP_NAMEFull Name TX_SIGNATURE_SETUP_NAME_PLACEHOLDERYour full name TX_SIGNATURE_SETUP_INITIALSInitials TX_SIGNATURE_SETUP_INITIALS_PLACEHOLDERYour initials TX_SIGNATURE_SETUP_SIGNATURE_DESCRIPTIONDRAW YOUR SIGNATURE TX_SIGNATURE_SETUP_SIGNATURE_CLEARClear TX_SIGNATURE_SETUP_SIGNATURE_LEGALBy clicking 'Setup and Sign', I confirm that the signature is the electronic representation of my signature for all purposes when I use them on documents, including legally binding contracts - just the same as a wet ink signature or initial TX_SIGNATURE_SETUP_SIGNATURE_BTN_START_TEXTSetup and Sign TX_SIGNATURE_SETUP_SIGNATURE_BTN_START_TITLEStart the signing process TX_SIGNATURE_SETUP_SIGNATURE_BTN_CANCEL_TEXTCancel TX_SIGNATURE_SETUP_SIGNATURE_BTN_CANCEL_TITLECancel the setup TX_SIGNATURE_SUBMIT_TITLESubmit your Signed Document TX_SIGNATURE_SUBMIT_INSTRUCTIONSYou signed all required signature areas successfully. In order to submit the document with your legally binding signature, please click 'Submit'. TX_SIGNATURE_SUBMIT_BTN_SUBMIT_TEXTSubmit TX_SIGNATURE_SUBMIT_BTN_SUBMIT_TITLESubmit the signed document TX_SIGNATURE_SUBMIT_BTN_CANCEL_TEXTCancel TX_SIGNATURE_SUBMIT_BTN_CANCEL_TITLECancel TX_SIGNATURE_ERROR_TITLEAn Error Occured on Signing TX_SIGNATURE_ERROR_DESCRIPTIONAn error occured on signing your document. Please try it again later. TX_SIGNATURE_ERROR_BTN_SUBMIT_TEXTSubmit Again TX_SIGNATURE_ERROR_BTN_SUBMIT_TITLESubmit the signed document TX_SIGNATURE_ERROR_BTN_CANCEL_TEXTCancel TX_SIGNATURE_ERROR_BTN_CANCEL_TITLECancel TX_SIGNATURE_CONFIRM_TITLEPlease confirm your signature by clicking the yellow signature areas. TX_SIGNATURE_DONE_TITLEThe signing process is complete. Please submit your signed document. TX_SIGNATURE_DONE_FLAG_TEXTDone TX_SIGNATURE_DONE_FLAG_SIGN_TEXTSign here TX_SIGNATURE_DONE_BTN_TEXTSubmit TX_SIGNATURE_DONE_BTN_TITLESubmit your signed document TX_PAGEPAGE TX_PAGE_OFOF TX_LOCKZOOMLock zoom TX_MENU_SHOWSIDEBAR_TITLEShow and hide thumbnail sidebar TX_MENU_ENABLESELECTION_TITLEEnable and disable document selection TX_MENU_ENABLEFULLSCREEN_TITLEEnable and disable full screen mode TX_MENU_PRINT_TITLEPrint the document TX_MENU_DOWNLOAD_TITLEDownload the document as PDF TX_MENU_FIND_TITLEFind strings in the document TX_MENU_FIND_PLACEHOLDERSearch... TX_MENU_FIND_NEXT_TITLENext search entry TX_MENU_FIND_PREVIOUS_TITLEPrevious search entry TX_MENU_FIND_CANCEL_TITLECancel search TX_MENU_TWOPAGEVIEW_TITLEToggle two page mode TX_SIDEBAR_HEADERComments TX_SIDEBAR_CLOSE_TITLEClose TX_MENU_EDIT_EDITANNOTATIONS_TEXTComment TX_MENU_EDIT_FILLANDSIGN_TEXTFill and Sign TX_MENU_EDIT_REVIEWTRACKEDCHANGES_TEXTReview TX_MENU_TRACKEDCHANGES_GOTOFIRSTFirst Change TX_MENU_TRACKEDCHANGES_GOTOPREVIOUSPrevious Change TX_MENU_TRACKEDCHANGES_GOTONEXTNext Change TX_MENU_TRACKEDCHANGES_GOTOLASTLast Change TX_MENU_TRACKEDCHANGES_ACCEPTAccept and Move to Next TX_MENU_TRACKEDCHANGES_REJECTReject and Move to Next TX_MENU_TRACKEDCHANGE_OPENToggle the tracked changes toolbar