Localization
Text elements in the BlinkReceipt SDK UI can be localized in exactly the same way as the host app’s UI elements, namely by adding
Localizable.strings
files in the desired language(s) to your project’s bundle in the appropriate language folders (e.g.en.lproj, es.lproj
etc)The strings to localize and their default English values are as follows:
"button_cancel" = "CANCEL";
"button_retake" = "RETAKE";
"button_finish" = "FINISH";
"button_confirm" = "Confirm";
"notice_align" = "Align photo with first section";
"notice_blurry" = "This image appears to be blurry";
"notice_date_total" = "Make sure you include the date and total";
"notice_long_receipt" = "Long Receipt? Add more on the next screen";
"notice_move_closer" = "Move Closer";
"label_receipt_edge" = "RECEIPT EDGE";
"alignment_tooltip" = "Long receipt? Take multiple photos";
"long_receipt" = "Long receipt? Add photos.";
"next_photo" = "Start next photo here";
"image_blurry" = "Image seems blurry";
"image_blurry_description" = "Image seems blurry. You can \ntry again and tap to focus.";
"dismiss" = "Dismiss";
"notice_move_further" = "Move further";
"data_missing" = "Data missing? You can still hit \ncheckmark to finish scan";
"chip_date" = "Date";
"chip_total" = "Total";
"chip_merchant" = "Merchant";