# DocumentScannerTextLocalization constructor

DocumentScannerTextLocalization({

1. String cameraTopBarCancelButtonTitle = "Cancel",
2. String cameraTopBarTitle = "Scan Document",
3. String cameraTopGuidance = "Scan each page of your document.",
4. String cameraUserGuidanceStart = "Please hold your device over a document.",
5. String cameraUserGuidanceNoDocumentFound = "No document found",
6. String cameraUserGuidanceBadAspectRatio = "Bad aspect ratio",
7. String cameraUserGuidanceOrientationMismatch = "Orientation mismatch",
8. String cameraUserGuidanceBadAngles = "Bad angles",
9. String cameraUserGuidanceTooNoisy = "Its too noisy. Try another background for the document",
10. String cameraUserGuidanceTextHintOffCenter = "Document is off center",
11. String cameraUserGuidanceTooSmall = "Document is too small. Move camera closer.",
12. String cameraUserGuidanceTooDark = "Its too dark. Add more light.",
13. String cameraUserGuidanceEnergySaveMode = "Energy save mode is on",
14. String cameraUserGuidanceReadyToCapture = "Hold still capturing...",
15. String cameraUserGuidanceReadyToCaptureManual = "Ready to capture!",
16. String cameraImportButtonTitle = "Import",
17. String cameraTorchOnButtonTitle = "On",
18. String cameraTorchOffButtonTitle = "Off",
19. String cameraAutoSnapButtonTitle = "Auto",
20. String cameraManualSnapButtonTitle = "Manual",
21. String cameraPreviewButtonTitle = "%d Pages",
22. String cameraIntroDoneButton = "Done",
23. String cameraIntroTitle = "How to scan a document",
24. String cameraIntroSubtitle = "Follow the steps below to create a high-quality document scan",
25. String cameraIntroItem1 = "1. Place your document on a flat surface.",
26. String cameraIntroItem2 = "2. Hold your phone above the document.",
27. String cameraIntroItem3 = "3. Follow the on-screen guidance to find the optimal position.",
28. String cameraIntroItem4 = "4. Once you reach the optimal position, you can manually scan the document or let the app scan it automatically.",
29. String cameraProgressOverlayTitle = "Please wait...",
30. String cameraCancelAlertTitle = "Cancel?",
31. String cameraCancelAlertSubtitle = "Canceling will delete all the pages scanned so far. Are you sure you want to cancel?",
32. String cameraCancelNoButtonTitle = "No",
33. String cameraCancelYesButtonTitle = "Yes, Cancel",
34. String cameraLimitReachedAlertTitle = "You reached the limit!",
35. String cameraLimitReachedAlertSubtitle = "You have scanned the maximum number of pages and cannot add any more. Please delete at least one page to perform a new scan.",
36. String cameraLimitReachedOkButtonTitle = "Ok",
37. String acknowledgementScreenBadDocumentHint = "The quality of your scan does not seem sufficient.",
38. String acknowledgementRetakeButtonTitle = "Retake",
39. String acknowledgementAcceptButtonTitle = "Use Scan",
40. String reviewScreenTitle = "Review (%d)",
41. String reviewTopBarBackButtonTitle = "Back",
42. String reviewScreenPageCount = "Page %d/%d",
43. String reviewScreenAddButtonTitle = "Add",
44. String reviewScreenRetakeButtonTitle = "Retake",
45. String reviewScreenCropButtonTitle = "Crop",
46. String reviewScreenRotateButtonTitle = "Rotate",
47. String reviewScreenDeleteButtonTitle = "Delete",
48. String reviewScreenSubmitButtonTitle = "Submit",
49. String reviewScreenDeleteAllButtonTitle = "Delete all",
50. String reviewScreenReorderPagesButtonTitle = "Reorder pages",
51. String zoomOverlayCancelButtonText = "Close",
52. String reviewDeletePageAlertTitle = "Delete page?",
53. String reviewDeleteAllPagesAlertTitle = "Delete all?",
54. String reviewDeletePageAlertSubTitle = "Are you sure you want to delete the page?",
55. String reviewDeleteAllPagesAlertSubtitle = "Are you sure you want to delete all pages?",
56. String reviewDeletePageAlertConfirmButtonTitle = "Yes, Delete",
57. String reviewDeleteAllPagesAlertDeleteButtonTitle = "Yes, Delete all",
58. String reviewDeletePageAlertDeleteRetakeButtonTitle = "Delete and Retake",
59. String reviewDeletePageAlertCancelButtonTitle = "Cancel",
60. String reviewDeleteAllPagesAlertCancelButtonTitle = "Cancel",
61. String acknowledgementTitle = "Acknowledgement",
62. String reorderPageTitle = "Reorder Pages",
63. String reorderPageGuidanceTitle = "Drag pages to reorder",
64. String reorderPageText = "%d",
65. String reorderTopBarConfirmButtonTitle = "Done",
66. String reorderTopBarCancelButtonTitle = "Cancel",
67. String croppingTopBarConfirmButtonTitle = "Done",
68. String croppingTopBarCancelButtonTitle = "Cancel",
69. String croppingDetectButtonTitle = "Detect",
70. String croppingRotateButtonTitle = "Rotate",
71. String croppingResetButtonTitle = "Reset",
72. String croppingScreenTitle = "Crop",
73. String accessibilityDescriptionCameraTopBarIntroButton = "Tap to open introduction screen",
74. String accessibilityDescriptionCameraTopBarCancelButton = "Tap to close scanner screen",
75. String accessibilityDescriptionCameraImportButton = "Tap to import image",
76. String accessibilityDescriptionCameraTorchOnButton = "Tap to disable torch",
77. String accessibilityDescriptionCameraTorchOffButton = "Tap to enable torch",
78. String accessibilityDescriptionCameraShutterButton = "Tap to take image",
79. String accessibilityDescriptionCameraAutoSnapButton = "Tap to enable manual snapping mode",
80. String accessibilityDescriptionCameraManualSnapButton = "Tap to enable auto snapping mode",
81. String accessibilityDescriptionCameraPreviewButton = "Tap to preview scanned pages",
82. String accessibilityDescriptionCameraIntroDoneButton = "Tap to close introduction screen",
83. String accessibilityDescriptionAcknowledgementRetakeButton = "Tap to retake the image",
84. String accessibilityDescriptionAcknowledgementAcceptButton = "Tap to accept the image regardless of its quality",
85. String accessibilityDescriptionCroppingTopBarConfirmButton = "Tap to apply changes",
86. String accessibilityDescriptionCroppingTopBarCancelButton = "Tap to close screen without applying changes",
87. String accessibilityDescriptionCroppingDetectButton = "Tap to detect document on the image",
88. String accessibilityDescriptionCroppingRotateButton = "Tap to rotate document",
89. String accessibilityDescriptionCroppingResetButton = "Tap to reset document contour to whole image",
90. String accessibilityDescriptionReorderTopBarConfirmButton = "Tap to apply changes",
91. String accessibilityDescriptionReorderTopBarCancelButton = "Tap to close screen without applying changes",
92. String accessibilityDescriptionReviewNextPageButton = "Tap to switch to the new page",
93. String accessibilityDescriptionReviewPreviousPageButton = "Tap to switch to the previous page",
94. String accessibilityDescriptionReviewAddButton = "Tap to Add new page",
95. String accessibilityDescriptionReviewRetakeButton = "Tap to Retake current selected page",
96. String accessibilityDescriptionReviewCropButton = "Tap to Crop selected page",
97. String accessibilityDescriptionReviewRotateButton = "Tap to Rotate selected page clockwise",
98. String accessibilityDescriptionReviewDeleteButton = "Tap to Delete selected page",
99. String accessibilityDescriptionReviewSubmitButton = "Tap to Submit document",
100. String accessibilityDescriptionReviewMoreButton = "Tap to show additional options",
101. String accessibilityDescriptionReviewDeleteAllButton = "Tap to Delete all pages",
102. String accessibilityDescriptionReviewReorderPagesButton = "Tap to Reorder pages",
103. String accessibilityDescriptionZoomOverlayCancelButton = "Tap to Close zoom overlay",
104. String accessibilityDescriptionReviewZoomButton = "Tap to open zoom overlay for selected page",
105. String accessibilityDescriptionReviewTopBarBackButton = "Tap to Close review screen",
106. String accessibilityDescriptionReviewDeletePageAlertConfirmButton = "Tap to Delete page",
107. String accessibilityDescriptionReviewDeleteAllPagesAlertDeleteButton = "Tap to Delete all pages",
108. String accessibilityDescriptionReviewDeletePageAlertDeleteRetakeButton = "Tap to Delete page and Retake it",
109. String accessibilityDescriptionReviewDeletePageAlertCancelButton = "Tap to Cancel operation",
110. String accessibilityDescriptionReviewDeleteAllPagesAlertCancelButton = "Tap to Cancel operation",
111. String accessibilityDescriptionCameraLimitReachedOkButton = "Tap to close alert dialog",
112. String accessibilityDescriptionCameraCancelYesButton = "Tap to cancel document",
113. String accessibilityDescriptionCameraCancelNoButton = "Tap to close alert dialog",
114. String cameraPermissionEnableCameraTitle = "Camera permission denied!",
115. String cameraPermissionEnableCameraExplanation = "Please allow the usage of the camera to start the scanning process.",
116. String cameraPermissionEnableCameraButton = "Grant permission",
117. String cameraPermissionCloseButton = "Close",
118. String accessibilityDescriptionCameraPermissionEnableCameraButton = "Tap to grant camera permission",
119. String accessibilityDescriptionCameraPermissionCloseButton = "Close screen without granting permission",

})

## Implementation

    DocumentScannerTextLocalization({
      this.cameraTopBarCancelButtonTitle = "Cancel",
      this.cameraTopBarTitle = "Scan Document",
      this.cameraTopGuidance = "Scan each page of your document.",
      this.cameraUserGuidanceStart = "Please hold your device over a document.",
      this.cameraUserGuidanceNoDocumentFound = "No document found",
      this.cameraUserGuidanceBadAspectRatio = "Bad aspect ratio",
      this.cameraUserGuidanceOrientationMismatch = "Orientation mismatch",
      this.cameraUserGuidanceBadAngles = "Bad angles",
      this.cameraUserGuidanceTooNoisy =
          "Its too noisy. Try another background for the document",
      this.cameraUserGuidanceTextHintOffCenter = "Document is off center",
      this.cameraUserGuidanceTooSmall =
          "Document is too small. Move camera closer.",
      this.cameraUserGuidanceTooDark = "Its too dark. Add more light.",
      this.cameraUserGuidanceEnergySaveMode = "Energy save mode is on",
      this.cameraUserGuidanceReadyToCapture = "Hold still capturing...",
      this.cameraUserGuidanceReadyToCaptureManual = "Ready to capture!",
      this.cameraImportButtonTitle = "Import",
      this.cameraTorchOnButtonTitle = "On",
      this.cameraTorchOffButtonTitle = "Off",
      this.cameraAutoSnapButtonTitle = "Auto",
      this.cameraManualSnapButtonTitle = "Manual",
      this.cameraPreviewButtonTitle = "%d Pages",
      this.cameraIntroDoneButton = "Done",
      this.cameraIntroTitle = "How to scan a document",
      this.cameraIntroSubtitle =
          "Follow the steps below to create a high-quality document scan",
      this.cameraIntroItem1 = "1. Place your document on a flat surface.",
      this.cameraIntroItem2 = "2. Hold your phone above the document.",
      this.cameraIntroItem3 =
          "3. Follow the on-screen guidance to find the optimal position.",
      this.cameraIntroItem4 =
          "4. Once you reach the optimal position, you can manually scan the document or let the app scan it automatically.",
      this.cameraProgressOverlayTitle = "Please wait...",
      this.cameraCancelAlertTitle = "Cancel?",
      this.cameraCancelAlertSubtitle =
          "Canceling will delete all the pages scanned so far. Are you sure you want to cancel?",
      this.cameraCancelNoButtonTitle = "No",
      this.cameraCancelYesButtonTitle = "Yes, Cancel",
      this.cameraLimitReachedAlertTitle = "You reached the limit!",
      this.cameraLimitReachedAlertSubtitle =
          "You have scanned the maximum number of pages and cannot add any more. Please delete at least one page to perform a new scan.",
      this.cameraLimitReachedOkButtonTitle = "Ok",
      this.acknowledgementScreenBadDocumentHint =
          "The quality of your scan does not seem sufficient.",
      this.acknowledgementRetakeButtonTitle = "Retake",
      this.acknowledgementAcceptButtonTitle = "Use Scan",
      this.reviewScreenTitle = "Review (%d)",
      this.reviewTopBarBackButtonTitle = "Back",
      this.reviewScreenPageCount = "Page %d/%d",
      this.reviewScreenAddButtonTitle = "Add",
      this.reviewScreenRetakeButtonTitle = "Retake",
      this.reviewScreenCropButtonTitle = "Crop",
      this.reviewScreenRotateButtonTitle = "Rotate",
      this.reviewScreenDeleteButtonTitle = "Delete",
      this.reviewScreenSubmitButtonTitle = "Submit",
      this.reviewScreenDeleteAllButtonTitle = "Delete all",
      this.reviewScreenReorderPagesButtonTitle = "Reorder pages",
      this.zoomOverlayCancelButtonText = "Close",
      this.reviewDeletePageAlertTitle = "Delete page?",
      this.reviewDeleteAllPagesAlertTitle = "Delete all?",
      this.reviewDeletePageAlertSubTitle =
          "Are you sure you want to delete the page?",
      this.reviewDeleteAllPagesAlertSubtitle =
          "Are you sure you want to delete all pages?",
      this.reviewDeletePageAlertConfirmButtonTitle = "Yes, Delete",
      this.reviewDeleteAllPagesAlertDeleteButtonTitle = "Yes, Delete all",
      this.reviewDeletePageAlertDeleteRetakeButtonTitle = "Delete and Retake",
      this.reviewDeletePageAlertCancelButtonTitle = "Cancel",
      this.reviewDeleteAllPagesAlertCancelButtonTitle = "Cancel",
      this.acknowledgementTitle = "Acknowledgement",
      this.reorderPageTitle = "Reorder Pages",
      this.reorderPageGuidanceTitle = "Drag pages to reorder",
      this.reorderPageText = "%d",
      this.reorderTopBarConfirmButtonTitle = "Done",
      this.reorderTopBarCancelButtonTitle = "Cancel",
      this.croppingTopBarConfirmButtonTitle = "Done",
      this.croppingTopBarCancelButtonTitle = "Cancel",
      this.croppingDetectButtonTitle = "Detect",
      this.croppingRotateButtonTitle = "Rotate",
      this.croppingResetButtonTitle = "Reset",
      this.croppingScreenTitle = "Crop",
      this.accessibilityDescriptionCameraTopBarIntroButton =
          "Tap to open introduction screen",
      this.accessibilityDescriptionCameraTopBarCancelButton =
          "Tap to close scanner screen",
      this.accessibilityDescriptionCameraImportButton = "Tap to import image",
      this.accessibilityDescriptionCameraTorchOnButton = "Tap to disable torch",
      this.accessibilityDescriptionCameraTorchOffButton = "Tap to enable torch",
      this.accessibilityDescriptionCameraShutterButton = "Tap to take image",
      this.accessibilityDescriptionCameraAutoSnapButton =
          "Tap to enable manual snapping mode",
      this.accessibilityDescriptionCameraManualSnapButton =
          "Tap to enable auto snapping mode",
      this.accessibilityDescriptionCameraPreviewButton =
          "Tap to preview scanned pages",
      this.accessibilityDescriptionCameraIntroDoneButton =
          "Tap to close introduction screen",
      this.accessibilityDescriptionAcknowledgementRetakeButton =
          "Tap to retake the image",
      this.accessibilityDescriptionAcknowledgementAcceptButton =
          "Tap to accept the image regardless of its quality",
      this.accessibilityDescriptionCroppingTopBarConfirmButton =
          "Tap to apply changes",
      this.accessibilityDescriptionCroppingTopBarCancelButton =
          "Tap to close screen without applying changes",
      this.accessibilityDescriptionCroppingDetectButton =
          "Tap to detect document on the image",
      this.accessibilityDescriptionCroppingRotateButton =
          "Tap to rotate document",
      this.accessibilityDescriptionCroppingResetButton =
          "Tap to reset document contour to whole image",
      this.accessibilityDescriptionReorderTopBarConfirmButton =
          "Tap to apply changes",
      this.accessibilityDescriptionReorderTopBarCancelButton =
          "Tap to close screen without applying changes",
      this.accessibilityDescriptionReviewNextPageButton =
          "Tap to switch to the new page",
      this.accessibilityDescriptionReviewPreviousPageButton =
          "Tap to switch to the previous page",
      this.accessibilityDescriptionReviewAddButton = "Tap to Add new page",
      this.accessibilityDescriptionReviewRetakeButton =
          "Tap to Retake current selected page",
      this.accessibilityDescriptionReviewCropButton = "Tap to Crop selected page",
      this.accessibilityDescriptionReviewRotateButton =
          "Tap to Rotate selected page clockwise",
      this.accessibilityDescriptionReviewDeleteButton =
          "Tap to Delete selected page",
      this.accessibilityDescriptionReviewSubmitButton = "Tap to Submit document",
      this.accessibilityDescriptionReviewMoreButton =
          "Tap to show additional options",
      this.accessibilityDescriptionReviewDeleteAllButton =
          "Tap to Delete all pages",
      this.accessibilityDescriptionReviewReorderPagesButton =
          "Tap to Reorder pages",
      this.accessibilityDescriptionZoomOverlayCancelButton =
          "Tap to Close zoom overlay",
      this.accessibilityDescriptionReviewZoomButton =
          "Tap to open zoom overlay for selected page",
      this.accessibilityDescriptionReviewTopBarBackButton =
          "Tap to Close review screen",
      this.accessibilityDescriptionReviewDeletePageAlertConfirmButton =
          "Tap to Delete page",
      this.accessibilityDescriptionReviewDeleteAllPagesAlertDeleteButton =
          "Tap to Delete all pages",
      this.accessibilityDescriptionReviewDeletePageAlertDeleteRetakeButton =
          "Tap to Delete page and Retake it",
      this.accessibilityDescriptionReviewDeletePageAlertCancelButton =
          "Tap to Cancel operation",
      this.accessibilityDescriptionReviewDeleteAllPagesAlertCancelButton =
          "Tap to Cancel operation",
      this.accessibilityDescriptionCameraLimitReachedOkButton =
          "Tap to close alert dialog",
      this.accessibilityDescriptionCameraCancelYesButton =
          "Tap to cancel document",
      this.accessibilityDescriptionCameraCancelNoButton =
          "Tap to close alert dialog",
      this.cameraPermissionEnableCameraTitle = "Camera permission denied!",
      this.cameraPermissionEnableCameraExplanation =
          "Please allow the usage of the camera to start the scanning process.",
      this.cameraPermissionEnableCameraButton = "Grant permission",
      this.cameraPermissionCloseButton = "Close",
      this.accessibilityDescriptionCameraPermissionEnableCameraButton =
          "Tap to grant camera permission",
      this.accessibilityDescriptionCameraPermissionCloseButton =
          "Close screen without granting permission",
    });