In this document, it will be explained how to use multiple languages on order template.
1. Adding Product Tag
Main Menu > Manage > Settings > Program Settings > General Settings > here into Product Tag Captions field, write second language which you want to see on template. for this example it is selected as Arabic.
After completing necessary editings, click on Save button.
2. Editing Product Tag Editor
Main Menu > Manage > Products > Product Tag Editor > here, into the column of second language, write names of products in this language.
After completing necessary editings, click on Save button.
3. Configuring Printer Settings
If your printer supports the second language that you want to use, then you can skip this step.
Main Menu > Manage > Printing > Printers > here, select related printer and set Printer Type as HTML;
After completing necessary editings, click on Save button.
4. Editing Printer Templates
4.1. Editing Ticket Template
Main Menu > Manage > Printing > Printer Templates > Ticket Template here, copy below code group and paste it into Template field;
[LAYOUT] -- General layout
<div style="margin:0 0 5 0;border:0 0 1 0;border-color:black">
<div style="text-align:center;font-size:18;font-weight:bold;margin:0 0 5 0">
Ticket </div>
<div style="text-align:center;font-size:12;font-weight:bold;margin:0 0 5 0">
Samba Cafe<br/>Istanbul
</div> <div align=left>Date: {TICKET DATE}</div>
<div>Time: {TIME}</div> {ENTITIES}
<div style="margin:0 0 5 0">Ticket No: {TICKET NO}</div>
</div><table width=200> {ORDERS}
</table>
<div style="font-weight:bold;margin:0 0 5 0;padding:5 0 5 0;border:1 0 1 0;border-color:black">
[<table>
<tr>
<td width="14*" align=right>Sub Total</td><td width="6*" align=right>[[={TICKET ORDER TOTAL EXP:(ODI=True)}!={TICKET TOTAL}?'{TICKET ORDER TOTAL EXP:(ODI=True)}':'']]</td>
</tr>
</table>] {DISCOUNTS}
[<table>
<tr>
<td width="14*" align=right>Total Gift</td><td width="6*" align=right>-{ORDER STATE TOTAL:Gift}</td>
</tr>
</table>] {SERVICES}[<table>
<tr>
<td width="14*" align=right>Ticket Total</td><td width="6*" align=right>{TICKET TOTAL}</td>
</tr>
<tr>
<td width="14*" align=right>Payment Total</td><td width="6*" align=right>[[={PAYMENT TOTAL}>0?'{PAYMENT TOTAL}':'']]</td>
</tr>
</table>]<table style="font-size:16">
c,<tr>
<td width="14*" align=right>Remaining Total</td><td width="6*" align=right>{REMAINING TOTAL}</td>
</tr>
</table><table> {PAYMENTS}
</table></div>
<div align=center>T H A N K Y O U</div>
[DISCOUNTS]
<table>
<tr>
<td width="14*" align=right>{CALCULATION NAME} %{CALCULATION AMOUNT}</td>
<td width="6*" align=right>{CALCULATION TOTAL}</td>
</tr>
</table> [SERVICES]
<table>
<tr>
<td width="14*" align=right>{CALCULATION NAME}</td>
<td width="6*" align=right>{CALCULATION TOTAL}</td>
</tr>
</table> [PAYMENTS]
<tr>
<td width="14*">{PAYMENT NAME}</td>
<td width="6*" align=right>{PAYMENT AMOUNT}</td>
</tr> [ORDERS]
-- Default format for orders
<tr>
<td width="2*" align=left>{QUANTITY}</td>
<td width="3" align=left> X {NAME}<br>{ITEM TAG:Arabic}</br></td></tr>
</tr>
<tr>
<td colspan=3> {ORDER TAGS}
</td>
</tr> [ORDERS:Gift]
-- Format for gifted orders
<tr>
<td width="2*" align=right>{QUANTITY} </td>
<td width="14*">{NAME} (Gift) </td>
<td width="4*" align=right>{TOTAL AMOUNT}</td>
</tr>
<tr>
<td colspan=3>
{ORDER TAGS}
</td>
</tr> [ORDERS:Void]
-- Nothing will print for void lines [ORDER TAGS]
-- Format for order tags
<div style="padding:0 0 0 30">* [={ORDER TAG QUANTITY}>1?'{ORDER TAG QUANTITY} X ':'']{ORDER TAG NAME} [({ORDER TAG TOTAL PRICE})]</div> [ENTITIES:Table]
-- Table entity format
<div>Table: {ENTITY NAME}</div> [ENTITIES:Customer]
-- Customer entity format
<div>Customer: {ENTITY NAME} {ENTITY DATA:Phone}</div>
After completing necessary editings, click on Save button.
4.2. Editing Kitchen Orders Template
Main Menu > Manage > Printing > Printer Templates > Kitchen Orders Template > here, copy below code group and paste it into Template field;
[LAYOUT]
-- General layout
<div style="margin:0 0 5 0;border:0 0 1 0;border-color:black">
<div style="text-align:center;font-size:18;font-weight:bold;margin:0 0 5 0">
Ticket
</div>
<div style="text-align:center;font-size:12;font-weight:bold;margin:0 0 5 0">
Samba Cafe<br/>Istanbul
</div>
<div align=left>Date: {TICKET DATE}</div>
<div>Time: {TIME}</div>
{ENTITIES}
<div style="margin:0 0 5 0">Ticket No: {TICKET NO}</div>
</div><table width=200>
{ORDERS}
</table>
<div style="font-weight:bold;margin:0 0 5 0;padding:5 0 5 0;border:1 0 1 0;border-color:black">{DISCOUNTS}
[<table>
<tr>
<td width="14*" align=right>Total Gift</td><td width="6*" align=right>-{ORDER STATE TOTAL:Gift}</td>
</tr>
</table>]
[SERVICES]
<table>
<tr>
<td width="14*" align=right>{CALCULATION NAME}</td>
<td width="6*" align=right>{CALCULATION TOTAL}</td>
</tr>
</table> [ORDERS] -- Default format for orders <tr>
<td width="2*" align=left>{QUANTITY}</td> <td width="3" align=left> X {NAME}<br>{ITEM TAG:Arabic}</br></td></tr>
<tr>
<td colspan=3>
{ORDER TAGS}
</td>
</tr> [ORDERS:Gift] -- Format for gifted orders <tr>
<td width="2*" align=right>{QUANTITY} </td>
<td width="14*">{NAME} (Gift) </td>
<td width="4*" align=right>{TOTAL AMOUNT}</td>
</tr>
<tr>
<td colspan=3> {ORDER TAGS}
</td>
</tr> [ORDERS:Void] -- Nothing will print for void lines [ORDER TAGS] -- Format for order tags
<div style="padding:0 0 0 30">* [={ORDER TAG QUANTITY}>1?'{ORDER TAG QUANTITY} X ':'']{ORDER TAG NAME} [({ORDER TAG TOTAL PRICE})]</div> [ENTITIES:Table]
-- Table entity format
<div>Table: {ENTITY NAME}</div> [ENTITIES:Customer] -- Customer entity format <div>Customer: {ENTITY NAME} {ENTITY DATA:Phone}</div>
After completing necessary editings, click on Save button.