NOTE: This documentation relates to an earlier version of the APM / Lab 50 software.

Visit the current documentation home.

Editing the text of the receipt is done on a language by language basis. To edit the text for the receipt, do the following:

  1. Make a backup copy of all xml files found in C:\APM
  2. Open the English language file: C:\APM\apmlang_english.xml in Notepad.
  3. Do a search within the file for <receipt>
  4. Copy the section from <receipt> to <receipt> by highlighting it and pressing (ctrl+c).
  5. Close the language file.
  6. Open the apmlang_custom.xml file in Notepad
  7. Do a search to see if there are any sections for the language that will be modified. Example: When doing a search for German, do a search for <german>, etc.
  8. If there are no preexisting language tags for the language to be modified, hit enter a couple times underneath the </receipt> tag to create extra lines.
  9. On one of the new lines create a tag with the language, Ex. <german>
  10. Hit Enter a couple times to create some space and then create a closing tag. Ex. <german>
  11. Paste (ctrl+v) the copied section where the extra spaces were just created.
  12. Do a search for the text that you wish to modify using the existing text as the search parameter.
  13. Click ‚Find next? to bring up the section of the text that will be modified. It should have a > right before it.
  14. In the section between the > and the <string> for that line, edit the information between these characters to include the desired text.
  15. You may remove the text strings from the section that you are not going to edit.
  16. Repeat Steps 12- 14 for each language string until all desired changes have been made.
  17. If multiple languages are going to be modified, repeat steps 7-15 for each language.
  18. Save the file.
  19. Open the apmlang_custom.xml file in Internet Explorer to check for any errors and to ensure that there are no syntax errors that would prevent the file from being parsed properly. Internet Explorer will point out any mistakes you have made. Common mistakes include omitting a double quotation mark or not including the "end tag." End tags start with a forward slash, ex: </string> or </receipt>.
  20. Start up the Kiosk software and place an order to see the results of the changes.

Important Notes:

  • The [ text here ] section in en=“text here does not appear in the software, it is only used for reference.
  • The text will automatically break at the end of the line, but if you want to force a line break, use the ^ (shift + 6) symbol once for each line break.
  • Lucidiom software updates overwrite ALL master language files (apmlang_english.xml, apmlang_spanish.xml, etc.) If you make changes directly to any of these files, the change will appear in the software, but once you update to a new version, your change will be lost. The APM software updates do not install new apmlang_custom.xml files, so any changes you make in that file will remain after software updates are installed.
  • Do not use double quotation marks (") in your new text string.
  • The AMPERSAND (&) symbol alone will cause an error in the software. If you want to add an & to your new text string, it must be added like this: & .Example: For text to display: Joe & Mary Thank You! the text string in the apmlang_custom.xml file needs to look like this:

<string id=”txtExample en=”Thanks!”>Joe & Mary Thank You!</string>

To change the text “Thank you for your order” which appears on the receipt, you would:

  1. Search for "Thank you for your order" in C:\APM_apmlang_english.xml_. You find it in the <receipt> section of the English file.
  2. Copy the <receipt> to </receipt> section and paste it into apmlang_custom.xml.
  3. Find the second instance (In the section between the > and the </string> for the text you want to change and edit that section.
  4. Remove any strings you have not edited.

Old Text

New Text

Thank you for your order! Please come again soon! Please keep this receipt for your records!

Thank You! Max's Lab appreciates your business. please visit us again soon.

Old XML

New XML

<receipt>
<string id="txtThankYouFooter" en="Thank you for your order! ^Please come again soon ^^ Please keep this receipt for your records!”>
Thank you for your order! ^Please come again soon ^^Please keep this receipt for your records! </string>
</receipt>

<receipt>
<string id="txtThankYouFooter" en="Thank you for your order! ^Please come again soon ^^Please keep this receipt for your records!”>
Thank you for your order! ^Max's Lab appreciates your business ^^Please visit us again soon.</string>
</receipt>

  • No labels