Skip to main content

PayComplete™™ Help Center

Adding a phrase to a receipt

You add a new text to a receipt when you want to add information or a message.

Changing the phrase for a label in the language file from within Receipt Builder doesn't affect printed receipts. You must use the translation tool in Connect on-Device Studio to change a text on the receipts. If you want to add a new label to the language file, use Receipt Builder and then use the translation tool in Connect on-Device Studio to move the new label to the language-specific files. This applies even if you use the English language file. If you choose DEFAULT as Master in the Connect on-Device Studio translation tool, you can see your new label.

You can use this procedure to edit the receipt body. Changing a header and footer is a bit different. Headers and footers are stored in the configurable folder and point directly to the English file (receipt-printer_en.xml).

If you only use English, you can edit the language for a header or footer from within Receipt Builder. If you want to translate to another language, follow the steps but instead of selecting DEFAULT as Master, you select English (en) as Master, and the language you want to translate into as Editable.

If you are editing a receipt (header, footer, or body) and want to edit the English version or another language-specific version directly from Receipt Builder, you open the Project Properties and change the path of the language file to: [installation folder]\resources\configurable\i18n\receipts\receipt-printer_en.xml

Task. Adding a phrase to a receipt
  1. Start Receipt Builder.

  2. Open the receipt project containing the receipt you want to add the text to.

  3. In the navigation pane, select the Language tab.

  4. Select Add text.

  5. Name the label, for example, greetings_label.

  6. Double-click the Text column next to the greetings_label key.

  7. Type the text you want to add, for example, Have a nice day.

  8. Double-click the label in the Key column to add the new text to the end of the receipt.

  9. If needed, adjust the alignment in the Properties pane.

  10. Save the changes.

  11. Close Receipt Builder.

  12. Start Connect on-Device Studio.

  13. In the navigation pane, expand Language and select Texts.

  14. In the Texts view, in the Master box, select DEFAULT.

  15. In the Editable box, select the language you want to use, for example, English (en).

  16. Select Show 'Key' column.

  17. Select Enable filters.

  18. In the Category box, select Receipts.

  19. Select Load at the top of the view.

  20. Scroll down to the label you just added. The label is highlighted in red because it's missing in the current language file.

  21. Double-click the Editable text column and type a phrase for the selected language. If you are using English, you might want to use the default.

  22. Save the changes.

  23. Close Connect on-Device Studio.