Camera UI

String resource mapping

string key English(Default) Preview
recognizer_receipt_edge R\ne\nc\ne\ni\np\nt\n\nE\nd\ng\ne
scan_characteristics_option_date Date
scan_characteristics_option_total Total
scan_characteristics_option_merchant Merchant
scan_characteristics_option_subtotal Subtotal
scan_characteristics_option_taxes Taxes
scan_characteristics_option_time Time
scan_characteristics_option_store_address Store Address
scan_characteristics_option_store_city Store City
scan_characteristics_option_store_country Store Country
scan_characteristics_option_store_state Store State
scan_characteristics_option_store_zip Store Zip
scan_characteristics_option_store_phone Store Phone
recognizer_camera_long_receipt_add_photos_hint Long receipt? Add Photos.
recognizer_camera_initial_instruction Align left and right receipt edge.
Long receipt? Take multiple photos
recognizer_align_image_hint Start next photo here.
recognizer_blurry_image_tooltip Image seems blurry. You can
try again and tap to focus.
recognizer_missing_data_tooltip Data missing? You can still hit
checkmark to finish scan
recognizer_blurry_image_btn Dismiss
recognizer_move_closer_suggestion Move Closer
recognizer_move_further_suggestion Move Further
confirm confirm

You can apply your own translation on each string entry. This can be done by doing the following steps:

  • Right click on res folder -> Click New -> Click Android Resource File
  • Select Qualifier Local -> Select your desired Language(i.e. “German”) -> All Region(or may select a specific region)
  • Provide string entry translation as desired (i.e. “German” language translation).
    <?xml version="1.0" encoding="utf-8"?>
    <resources xmlns:tools="http://schemas.android.com/tools">
        <!-- You can override the following labels(German) -->
        <string name="recognizer_receipt_edge">Q\nu\ni\nt\nt\nu\nn\ng\n\nR\na\nn\nd</string>
        <string name="scan_characteristics_option_date">Datum</string>
        <string name="scan_characteristics_option_total">Gesamt</string>
        <string name="scan_characteristics_option_merchant">Händler</string>
        <string name="scan_characteristics_option_subtotal">Zwischensumme</string>
        <string name="scan_characteristics_option_taxes">Steuern</string>
        <string name="scan_characteristics_option_time">Zeit</string>
        <string name="scan_characteristics_option_store_address">Adresse des Geschäfts</string>
        <string name="scan_characteristics_option_store_city">Stadt des Geschäft</string>
        <string name="scan_characteristics_option_store_country">Land des Geschäfts</string>
        <string name="scan_characteristics_option_store_state">Staat des Geschäfts</string>
        <string name="scan_characteristics_option_store_zip">Postleitzahl des Geschäfts</string>
        <string name="scan_characteristics_option_store_phone">Telefon des Geschäfts</string>
    
        <string name="recognizer_camera_long_receipt_add_photos_hint">Lange Quittung? Fotos hinzufügen.</string>
        <string name="recognizer_camera_initial_instruction">Richten Sie die linke und rechte Bonkante aus.\nLange Quittung? Machen Sie mehrere Fotos</string>
        <string name="recognizer_align_image_hint">Beginnen Sie hier mit dem nächsten Foto.</string>
        <string name="recognizer_blurry_image_tooltip">Das Bild scheint verschwommen zu sein. Du kannst\nVersuchen Sie es erneut und tippen Sie, um zu fokussieren.</string>
        <string name="recognizer_missing_data_tooltip">Daten fehlen? Du kannst immer noch zuschlagen\nMarkieren Sie das Häkchen, um den Scanvorgang abzuschließen</string>
        <string name="recognizer_blurry_image_btn">Zurückweisen</string>
        <string name="recognizer_move_closer_suggestion">Komm näher</string>
        <string name="recognizer_move_further_suggestion">Bewegen Sie sich weiter</string>
        <string name="confirm">bestätigen</string>
    </resources>
    

For more details about Android App Resource Localization, you may look at Android’s official documentation Localize your app.