/*
 * LanguageInfo.c
 *
 *  Created on: Jul 11, 2016
 *      Author: Eric
 */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "LanguageInfo.h"

char terminalLanguage[5];

char * languageEN [] = {
    //		"","AMOUNT",
    //        "AMOUNT OK ? ",
    //        "APPROVED",
    //        "CALL YOUR BANK",
    //        "CANCEL OR ENTER",
    //        "CARD ERROR",
    //        "DECLINED",
    //        "ENTER AMOUNT",
    //        "ENTER PIN:",
    //        "INCORRECT PIN",
    //        "SWIPE OR INSERT",
    //        "CARD",
    //        "INSERT CARD",
    //        "USE CHIP READER",
    //        "NOT ACCEPTED",
    //        "GET PIN OK",
    //        "PLEASE WAIT...",
    //        "PROCESSING ERROR",
    //        "USE MAGSTRIPE",
    //        "TRY AGAIN",
    //        "GO ONLINE",
    //        "TRANSACTION ERR",
    //        "TERMINATE",
    //        "ADVICE",
    //        "TIME OUT",
    //        "PROCESSING...",
    //        "PIN TRY LIMIT EX",
    //        "ISSUER AUTH FAIL",
    //        "CONTINUE PROCESS",
    //        "GET PIN ERROR",
    //        "GET PIN FAIL",
    //        "NO KEY GET PIN",
    //        "CANCELLED",
    //        "LAST PIN TRY",
    //        "WELCOME",
    //        "AMOUNT OTHER",
    //        "ENTER AMOUNT OTHER",
    //        "CAPK HASH VALUE FAIL",
    //        "REMOVE CARD", //39
    // "","","","","","","","","","","","","","","","","","","","","","","","", //63
    //		"TRY MSR AGAIN",
    //		"LAST MSR TRY",
    //		"TRY ICC AGAIN",
    //		"REMOVE CARD",
    //		"THANK YOU",
    //		"NOT AUTHORIZED",
    //		"TRANSACTION COMPLETED",
    //		"FAIL",
    //		"ERROR",
    //		"STOP",
    //		"SEE MOBILE PHONE",
    //		"PLEASE SIGN RECEIPT",
    //		"SIGNATURE REQUIRED",
    //		"NOT CONNECTED",
    //		"TOO MANY TAPS",
    //		"FORM ERROR",
    //		"OFFLINE AMOUNT",
    //		"BALANCE:",
    //		"REFUND",
    //		"SWIPE CARD",
    //		"PRESENT CARD",
    //		"PLEASE TAP OR SWIPE CARD",
    //		"INSERT/PRESENT CARD",
    //		"INSERT/PRESENT/SWIPE CARD",
    //		"USE CHIP & PIN",
    //		"TRY OTHER INTERFACE",
    //		"USE OTHER CARD",
    //		"PLEASE USE OTHER VISA CARD",
    //		"USE ALTERNATIVE PAYMENT METHOD",
    //		"NO CARD",
    //		"PRESENT ONE CARD ONLY",
    //		"INTERNATIONAL CARD ONLY",
    //		"SWIPE CARD AGAIN",
    //		"LAST SWIPE CARD",
    //		"INSERT CARD AGAIN",
    //		"CARD BLOCKED",
    //		"CORRECT PIN",
    //		"ENTER PIN AGAIN",
    //		"UNABLE TO ENTER PIN",
    //		"SELECT NEXT CANDIDATE",
    //		"CARD READ OK - REMOVE CARD",
    //		"AVAILABLE:",
    //		"PLEASE WAIT",
    //		"INITIALIZING - PLEASE WAIT...",
    //		"APPROVED, BAL:",
    //		"DECLINED, BAL:",
    //		"PIN REQUIRED",
    //		"PAYMENT TYPE NOT ACCEPTED", //112
    // "","","","","","","","","","","","","","","", //127
    //		"approved avail",
    //		"approved available",
    //		"authorized",
    //		"calibration in progress please remove all objects from the keypad",
    //		"cancel",
    //		"cancel to reject",
    //		"cancelled",
    //		"card read failed try again",
    //		"card read ok",
    //		"cash",
    //		"cash back?",
    //		"cashback",
    //		"chip card read error",
    //		"choose transaction type",
    //		"clear",
    //		"confirm amount",
    //		"connecting online",
    //		"convert to credit?",
    //		"copyright",
    //		"credit",
    //		"debit",
    //		"do not remove card",
    //		"done",
    //		"end of key life",
    //		"enter configuration id",
    //		"enter date and time",
    //		"enter force transaction online",
    //		"fail to passthru",
    //		"failed try again",
    //		"fare",
    //		"fatal error",
    //		"fee",
    //		"initializing",
    //		"input date of birth and press enter",
    //		"input joint applicant date of birth and press enter",
    //		"input joint applicant social security number and press enter",
    //		"insert or swipe card",
    //		"international card",
    //		"international card please insert",
    //		"international card please swipe",
    //		"intrusion detected keypad locked",
    //		"invalid entry",
    //		"is amount ok?",
    //		"transaction complete",
    //		"keys not found",
    //		"not authorized, available",
    //		"offline",
    //		"offline available fund",
    //		"other",
    //		"other amount",
    //		"out of order",
    //		"payment",
    //		"pin try limit exceeded",
    //		"please enter amount",
    //		"please enter cash back amount",
    //		"please enter phone number",
    //		"please enter social security number",
    //		"please enter tip",
    //		"please enter tip amount using keypad",
    //		"please enter tip option using keypad",
    //		"please enter zip code",
    //		"please insert card",
    //		"please insert or swipe card",
    //		"please insert swipe or try another card",
    //		"please present card",
    //		"please present one card only",
    //		"please press enter on keypad to continue",
    //		"please press enter to continue",
    //		"please push enter",
    //		"please re-enter phone number",
    //		"please re-enter zip code",
    //		"please remove card",
    //		"please see attendant",
    //		"please select 1 card",
    //		"please select option",
    //		"please sign on the screen",
    //		"please sign the receipt",
    //		"please swipe card",
    //		"please try again",
    //		"please tap card",
    //		"please use chip reader",
    //		"please use keypad to confirm",
    //		"please use keypad to confirm or cancel",
    //		"please use keypad to select account",
    //		"please use keypad to select option",
    //		"press cancel to reject",
    //		"press enter to accept",
    //		"processing",
    //		"purchase",
    //		"purchase with cashback",
    //		"push enter",
    //		"receipt?",
    //		"signature required transaction not completed",
    //		"subtotal",
    //		"swipe again",
    //		"tap again",
    //		"tap card",
    //		"tap or insert card",
    //		"tap or swipe card",
    //		"tap, insert or swipe card",
    //		"tip",
    //		"tip amount",
    //		"total",
    //		"total charged to card",
    //		"transaction not completed",
    //		"unit disabled",
    //		"vivotech, inc.",
    //		"voucher",
    //		"would you like a receipt?",
    //		"authorizing,",
    //		"available",
    //		"balance",
    //		"remove card please wait",
    //		"see phone for instructions",
    //		"select application",
    //		"select language",
    //		"Transaction Cancelled",
    //		"Transaction Timed Out",
    //		"Transaction Declined"


    "",                                  "AMOUNT",
    "AMOUNT OK?",
    "APPROVED",
    "CALL YOUR BANK",
    "CANCEL OR ENTER",
    "CARD ERROR",
    "DECLINED",
    "ENTER AMOUNT",
    "PLEASE ENTER PIN",
    "PIN DECLINED",
    "INSERT/SWIPE CARD",
    "CARD",
    "INSERT CARD",
    "USE CHIP READER",
    "NOT ACCEPTED",
    "PIN APPROVED",
    "PLEASE WAIT...",
    "PROCESSING ERROR",
    "USE MAGSTRIPE",
    "TRY AGAIN",
    "AUTHORIZING...",
    "TRANSACTION ERROR",
    "TERMINATED",
    "ADVICE",
    "TIMEOUT",
    "PROCESSING...",
    "PIN TRY LIMIT EX",
    "ISSUER AUTH FAIL",
    "CONTINUE PROCESS",
    "GET PIN ERROR",
    "GET PIN FAIL",
    "NO KEY GET PIN",
    "CANCELED",
    "LAST PIN TRY",
    "WELCOME",
    "AMOUNT OTHER",
    "ENTER AMOUNT OTHER",
    "CAPK HASH VALUE FAIL",
    "REMOVE CARD",
    "",                                  "",                                       "",
    "",                                  "",                                       "",
    "",                                  "",
    "GO ONLINE",                         "",                                       "",
    "",                                  "",                                       "",
    "",                                  "",                                       "",
    "",                                  "",                                       "",
    "",                                  "",                                       "",
    "",
    "TRY MSR AGAIN",
    "LAST MSR TRY",
    "TRY ICC AGAIN",
    "PLEASE REMOVE CARD",
    "THANK YOU",
    "NOT AUTHORIZED",
    "TRANSACTION COMPLETED",
    "FAIL",
    "ERROR",
    "STOP",
    "SEE MOBILE PHONE",
    "PLEASE SIGN RECEIPT",
    "SIGNATURE REQUIRED",
    "NOT CONNECTED",
    "TOO MANY TAPS",
    "FORM ERROR",
    "OFFLINE AMOUNT",
    "BALANCE:",
    "REFUND",
    "SWIPE CARD",
    "PRESENT CARD",
    "PLEASE TAP OR SWIPE CARD",
    "INSERT/PRESENT CARD",
    "INSERT/PRESENT/ SWIPE CARD",
    "USE CHIP & PIN",
    "TRY OTHER INTERFACE",
    "USE OTHER CARD",
    "PLEASE USE OTHER VISA CARD",
    "USE ALTERNATIVE PAYMENT METHOD",
    "NO CARD",
    "PRESENT ONE CARD ONLY",
    "INTERNATIONAL CARD ONLY",
    "SWIPE CARD AGAIN",
    "LAST SWIPE CARD",
    "INSERT CARD AGAIN",
    "CARD BLOCKED",
    "CORRECT PIN",
    "ENTER PIN AGAIN",
    "UNABLE TO ENTER PIN",
    "SELECT NEXT CANDIDATE",
    "CARD READ OK REMOVE CARD",
    "AVAILABLE:",
    "PLEASE WAIT",
    "INITIALIZING PLEASE WAIT...",
    "APPROVED, BAL:",
    "DECLINED, BAL:",
    "PIN REQUIRED",
    "PAYMENT TYPE NOT ACCEPTED",
    "ONLINE APPROVED",
    "ONLINE DECLINED",
    "ONLINE FAIL OFFLINE DECLINED",
    "BLACKLIST",
    "CARD EXPIRED",
    "ONLINE APPROVED BAL:",
    "ONLINE DECLINED BAL:",
    "ODA PERFORMED SDA SUCCESS",
    "ODA PERFORMED FDDA SUCCESS",
    "ODA PERFORMED SDA FAIL",
    "ODA PERFORMED FDDA FAIL",
    "ODA FAIL",
    "SEE PINPAD",
    "OFFLINE APPROVED",
    "OFFLINE DECLINED",
    "OFFLINE APPROVED BAL:",
    "OFFLINE DECLINED BAL:",
    "PRESENT CARD AGAIN",
    "INSERT, SWIPE OR TRY ANOTHER CARD",
    "APPROVED PLEASE SIGN",
    "DO NOT REMOVE CARD",                ""
};

char * languageFR[] = {
    //		"","MONTANT",
    //        "MONTANT OK?",
    //        "APPROUVE",
    //        "APPE VOTRE BANQE",
    //        "ANNULE OU ENTRER",
    //        "ERREUR CARTE",
    //        "REFUSE",
    //        "ENTREZ MONTANT",
    //        "ENTREZ PIN:",
    //        "NIP INCORRECT",
    //        "PASSER OU INSERT",
    //        "CARTE",
    //        "INSERT CARTE",
    //        "UTI LECTEUR CHIP",
    //        "PAS ACCEPTE",
    //        "CODE OK",
    //        "ATTENDRE...",
    //        "ERREUR DE TRAITE",
    //        "USE MAGSTRIPE",
    //        "REESSAYER",
    //        "GO LIGNE",
    //        "ERREUR DE TRANS",
    //        "RESILIER",
    //        "CONSEILS",
    //        "TIMEOUT",
    //        "PROCESSUS...",
    //        "PIN TRY DEPASSE",
    //        "EMETTEUR FAIL",
    //        "CONTINUER LA",
    //        "GET PIN ERROR",
    //        "GET PIN FAIL",
    //        "NO KEY GET PIN",
    //        "ANNULE",
    //        "LAST PIN TRY",
    //        "BIENVENUE",
    //        "MONTANT AUTRES",
    //        "ENTRER MONTANT AUTRES",
    //        "CAPK HASH VALEUR FAIL",
    //        "RETIRER LA CARTE",
    // "","","","","","","","","","","","","","","","","","","","","","","","",
    //		"TRY MSR AGAIN",
    //		"LAST MSR TRY",
    //		"INSERER VOTRE CARTE",
    //		"RETIRER VOTRE CARTE",
    //		"MERCI",
    //		"PAS AUTORISÉ",
    //		"TRANSACTION TERMINÉE",
    //		"ECHEC",
    //		"ERREUR",
    //		"ARRÊTEZ",
    //		"VOYEZ VOTRE MOBILE",
    //		"SIGNEZ LE REÇU",
    //		"SIGNATURE REQUISE",
    //		"PAS CONNECTÉ",
    //		"TROP D'ESSAIS",
    //		"ERREUR DE FORME",
    //		"MONTANT HORS LIGNE",
    //		"SOLDE:",
    //		"REMBOURSEMENT",
    //		"PASSEZ VOTRE CARTE",
    //		"PRÉSENTEZ VOTRE CARTE",
    //		"PRESENTEZ/PASSEZ VOTRE CARTE",
    //		"INSÉREZ OU PRES. VOTRE CARTE",
    //		"INSÉREZ OU PRES. /PASSEZ CARTE",
    //		"INSÉREZ VOTRE CARTE",
    //		"ESSAYER UNE AUTRE INTERFACE",
    //		"UTILISEZ UNE AUTRE CARTE",
    //		"UTILISEZ UNE AUTRE CARTE VISA",
    //		"UTILISEZ AUTRE MODE DE PAIEMENT",
    //		"PAS DE CARTE",
    //		"PRESENTEZ UNE SEULE CARTE",
    //		"CARTE INTERNATI- ONALE SEULEMENT",
    //		"PASSEZ LA CARTE A NOUVEAU",
    //		"PASSEZ VOTRE DERNIERE CARTE",
    //		"INSÉREZ VOTRE CARTE A NOUVEAU",
    //		"CARTE BLOQUÉE",
    //		"CORRIGER CODE",
    //		"RE-ENTREZ VOTRE CODE",
    //		"IMPOSSIBLE D'ENTRER CODE",
    //		"CHOISIR LE CANDIDAT SUIVANT",
    //		"LECTURE CARTE OK RETIREZ CARTE",
    //		"DISPONIBLE:",
    //		"ATTENDEZ SVP",
    //		"INITIALISATION ATTENDEZ SVP",
    //		"APPROUVÉ, SOLDE:",
    //		"REFUSE, SOLDE:",
    //		"CODE REQUIS",
    //		"TYPE DE PAIEMENT PAS ACCEPTÉ",
    // "","","","","","","","","","","","","","","",
    //		"approved avail",
    //		"approved available",
    //		"authorized",
    //		"calibration in progress please remove all objects from the keypad",
    //		"cancel",
    //		"cancel to reject",
    //		"cancelled",
    //		"card read failed try again",
    //		"card read ok",
    //		"cash",
    //		"cash back?",
    //		"cashback",
    //		"chip card read error",
    //		"choose transaction type",
    //		"clear",
    //		"confirm amount",
    //		"connecting online",
    //		"convert to credit?",
    //		"copyright",
    //		"credit",
    //		"debit",
    //		"do not remove card",
    //		"done",
    //		"end of key life",
    //		"enter configuration id",
    //		"enter date and time",
    //		"enter force transaction online",
    //		"fail to passthru",
    //		"failed try again",
    //		"fare",
    //		"fatal error",
    //		"fee",
    //		"initializing",
    //		"input date of birth and press enter",
    //		"input joint applicant date of birth and press enter",
    //		"input joint applicant social security number and press enter",
    //		"insert or swipe card",
    //		"international card",
    //		"international card please insert",
    //		"international card please swipe",
    //		"intrusion detected keypad locked",
    //		"invalid entry",
    //		"is amount ok?",
    //		"transaction complete",
    //		"keys not found",
    //		"not authorized, available",
    //		"offline",
    //		"offline available fund",
    //		"other",
    //		"other amount",
    //		"out of order",
    //		"payment",
    //		"pin try limit exceeded",
    //		"please enter amount",
    //		"please enter cash back amount",
    //		"please enter phone number",
    //		"please enter social security number",
    //		"please enter tip",
    //		"please enter tip amount using keypad",
    //		"please enter tip option using keypad",
    //		"please enter zip code",
    //		"please insert card",
    //		"please insert or swipe card",
    //		"please insert swipe or try another card",
    //		"please present card",
    //		"please present one card only",
    //		"please press enter on keypad to continue",
    //		"please press enter to continue",
    //		"please push enter",
    //		"please re-enter phone number",
    //		"please re-enter zip code",
    //		"please remove card",
    //		"please see attendant",
    //		"please select 1 card",
    //		"please select option",
    //		"please sign on the screen",
    //		"please sign the receipt",
    //		"please swipe card",
    //		"please try again",
    //		"please tap card",
    //		"please use chip reader",
    //		"please use keypad to confirm",
    //		"please use keypad to confirm or cancel",
    //		"please use keypad to select account",
    //		"please use keypad to select option",
    //		"press cancel to reject",
    //		"press enter to accept",
    //		"processing",
    //		"purchase",
    //		"purchase with cashback",
    //		"push enter",
    //		"receipt?",
    //		"signature required transaction not completed",
    //		"subtotal",
    //		"swipe again",
    //		"tap again",
    //		"tap card",
    //		"tap or insert card",
    //		"tap or swipe card",
    //		"tap, insert or swipe card",
    //		"tip",
    //		"tip amount",
    //		"total",
    //		"total charged to card",
    //		"transaction not completed",
    //		"unit disabled",
    //		"vivotech, inc.",
    //		"voucher",
    //		"would you like a receipt?",
    //		"authorizing,",
    //		"available",
    //		"balance",
    //		"remove card please wait",
    //		"see phone for instructions",
    //		"select application",
    //		"select language",
    //		"Transaction Cancelled",
    //		"Transaction Timed Out",
    //		"Transaction Declined"

    "",                                 "MONTANT:",
    "MONTANT OK?",
    "APPROUVÉ",
    "APPELLEZ VOTRE BANQUE",
    "ANNULEZ/ENTREZ",
    "ERREUR DE CARTE",
    "REFUSÉ",
    "ENTRER MONTANT",
    "ENTRER CODE:",
    "CODE INCORRECT",
    "INSÉREZ/PASSEZ VOTRE CARTE",
    "CARTE",
    "INSÉRER CARTE",
    "UTILISEZ LA CARTE A PUCE",
    "PAS ACCEPTÉ",
    "CODE BON",
    "ATTENDEZ...",
    "ERREUR DE TRAITEMENT",
    "UTILISEZ PISTE MAGNETIQUE",
    "REESSAYEZ",
    "AUTORISATION",
    "ERREUR DE TRANSACTION",
    "FINI",
    "CONSEILS",
    "FIN D’ATTENTE",
    "EN COURS...",
    "NOMBRE D’ESSAI CODE DÉPASSÉ",
    "ERREUR ÉMETTEUR",
    "CONTINUER  LA PROCÉDURE",
    "ERREUR DU CODE",
    "ÉCHEC DU CODE",
    "PAS DE CLÉ POUR LA SAISIE DU PIN",
    "ANNULÉ",
    "DERNIER ESSAI",
    "BIENVENUE",
    "MONTANT AUTRE",
    "ENTREZ LE MONTANT AUTRE",
    "ERREUR VALEUR CAPK HASH",
    "RETIREZ LA CARTE",                 "",                                        "",
    "",                                 "",                                        "",
    "",                                 "",
    "",
    "ALLEZ EN LIGNE",                   "",                                        "",
    "",                                 "",                                        "",
    "",                                 "",
    "",                                 "",                                        "",
    "",                                 "",                                        "",
    "",                                 "",
    "REPASSEZ VOTRE CARTE",
    "DERNIERE TENTATIVE",
    "REINSÉRER VOTRE CARTE",
    "RETIREZ VOTRE CARTE",
    "MERCI",
    "PAS AUTORISÉ",
    "TRANSACTION TERMINÉE",
    "ÉCHEC",
    "ERREUR",
    "ARRÊTEZ",
    "VOYEZ VOTRE MOBILE",
    "SIGNEZ LE REÇU",
    "SIGNATURE REQUISE",
    "PAS CONNECTÉ",
    "TROP D'ESSAIS",
    "ERREUR DE FORME",
    "MONTANT HORS LIGNE",
    "SOLDE:",
    "REMBOURSEMENT",
    "PASSEZ VOTRE CARTE",
    "PRÉSENTEZ VOTRE CARTE",
    "PRÉSENTEZ/PASSEZ VOTRE CARTE",
    "INSÉREZ OU PRES. VOTRE CARTE",
    "INSÉREZ OU PRES. /PASSEZ CARTE",
    "INSÉREZ VOTRE CARTE",
    "ESSAYER UNE AUTRE INTERFACE",
    "UTILISEZ UNE AUTRE CARTE",
    "UTILISEZ UNE AUTRE CARTE VISA",
    "UTILISEZ AUTRE MODE DE PAIEMENT",
    "PAS DE CARTE",
    "PRÉSENTEZ UNE SEULE CARTE",
    "CARTE INTERNATI- ONALE SEULEMENT",
    "PASSEZ LA CARTE À NOUVEAU",
    "PASSEZ VOTRE DERNIÈRE CARTE",
    "INSÉREZ VOTRE CARTE À NOUVEAU",
    "CARTE BLOQUÉE",
    "CORRIGER CODE",
    "RE-ENTREZ VOTRE CODE",
    "IMPOSSIBLE D'ENTRER CODE",
    "CHOISIR LE CANDIDAT SUIVANT",
    "LECTURE CARTE OK RETIREZ CARTE",
    "DISPONIBLE:",                      "ATTENDEZ SVP",
    "INITIALISATION ATTENDEZ SVP",
    "APPROUVÉ SOLDE:",
    "REFUSÉ SOLDE:",
    "CODE REQUIS",
    "TYPE DE PAIEMENT PAS ACCEPTÉ",
    "APPROUVÉ ONLINE",
    "REFUSÉ ONLINE",
    "ÉCHEC ONLINE REFUSÉ OFFLINE",
    "EN LISTE NOIRE",
    "CARTE EXPIRÉE",
    "APPROUVÉ ONLINE SOLDE:",
    "REFUSÉ ONLINE SOLDE:",
    "ODA RÉALISÉE SUCCÈS SDA",
    "ODA RÉALISÉE SUCCÈS FDDA",
    "ODA RÉALISÉE ÉCHEC SDA",
    "ODA RÉALISÉE ÉCHEC FDDA",
    "ODA ÉCHOUÉE",
    "VOIR PINPAD",
    "APPROUVÉ OFFLINE",
    "REFUSÉ OFFLINE",
    "APPROUVÉ OFFLINE SOLDE:",
    "REFUSÉ OFFLINE SOLDE:",
    "PRÉSENTEZ VOTRE CARTE À NOUVEAU",
    "INSÉREZ PASSEZ ESS. AUTRE CARTE",
    "APPROUVÉ SIGNEZ SVP",
    "NE RETIREZ PAS LA CARTE",          ""
};

char * languageSP[] = {
    //		"", "CANTIDAD",
    //        "MONTO ES CORRECTO?",
    //        "APROVADO",
    //        "LLAME A SU BANCO",
    //        "CANCELAR O ENTRAR",
    //        "ERROR DE TARJETA",
    //        "DECLINADO",
    //        "INGRESE MONTO",
    //        "ENTRAR NPI:",
    //        "NPI INCORRECTO",
    //        "MOVER O INSERT",
    //        "TARJETA",
    //        "INSERTAR TARJETA",
    //        "USO CHIP  LECTOR",
    //        "NO ACEPTADO",
    //        "PIN ACEPTADO",
    //        "POR FAVOR ESPERE",
    //        "ERROR PROCESANDO",
    //        "USO DE MAGSTRIPE",
    //        "VUELV INTENTARLO",
    //        "GO LINEA",
    //        "ERROR DE TRANSAC",
    //        "TERMINAR",
    //        "CONSEJOS",
    //        "TIEMPO DE ESPERA",
    //        "PROCESANDO...",
    //        "TRY PIN SUPERADA",
    //        "EMISOR FALLA",
    //        "CONTINUAR PROCES",
    //        "OBTENER PIN ERR",
    //        "OBTENER PIN FALL",
    //        "NO CLAVE GET PIN",
    //        "CANCELADO",
    //        "LAST PIN TRY",
    //        "BIENVENIDOS",
    //        "IMPORTE OTRAS",
    //        "ENTRAR IMPORTE OTRAS",
    //        "CAPK HASH VALOR FAIL" ,
    //        "RETIRE LA TARJETA",
    // "","","","","","","","","","","","","","","","","","","","","","","","",
    //		"TRY MSR AGAIN",
    //		"LAST MSR TRY",
    //		"RETIRER VOTRE CARTE",
    //		"QUITE TARJETA",
    //		"GRACIAS",
    //		"NO AUTORIZADO",
    //		"TRANSACCIÓN CONCLUIDA",
    //		"FALLA",
    //		"ERROR",
    //		"PARE",
    //		"VER TELÉFONO",
    //		"POR FAVOR FIRMAR RECIBO",
    //		"FIRMA REQUERIDA",
    //		"NO CONECTADO",
    //		"TENTATIVAS EXCEDIDO",
    //		"ERROR DE FORMA",
    //		"VALOR OFFLINE",
    //		"BALANCE:",
    //		"REEMBOLSO",
    //		"PASE LA TARJETA",
    //		"PRESENTE TARJETA",
    //		"PRESENTE/PASE LA TARJETA",
    //		"INSIRA/PRESENTE LA TARJETA",
    //		"INSIRA/PRESENTE/ PASE TARJETA",
    //		"USAR CHIP & PIN",
    //		"TENTE OTRA FORMA DE PAGO",
    //		"USE OTRA TARJETA",
    //		"FAVOR USE OTRA TARJETA VISA",
    //		"USE OTRA FORMA DE PAGO",
    //		"SIN TARJETA",
    //		"PRESENTE SOLO UNA TARJETA",
    //		"SOLO TARJETAS INTERNACIONALES",
    //		"PASE LA TARJETA DE NOVO",
    //		"ÚLTIMO PASE DE LA TARJETA",
    //		"INSIRA TARJETA DE NOVO",
    //		"TARJETA BLOQUEADA",
    //		"CORREGIR PIN",
    //		"ENTRAR PIN DE NOVO",
    //		"NO SE PUEDE ENTRAR PIN",
    //		"ELIGE PRÓXIMO CANDIDATO",
    //		"TARJETA OK RETIRE TARJETA",
    //		"DISPONIBLE:","POR FAVOR ESPERE",
    //		"INICIALIZANDO POR FAVOR ESPERE",
    //		"APROBADO, BAL:",
    //		"RECHAZADO, BAL:",
    //		"PIN REQUERIDO",
    //		"TIPO DE PAGO NO ACEPTADO",
    // "","","","","","","","","","","","","","","",
    //		"approved avail",
    //		"approved available",
    //		"authorized",
    //		"calibration in progress please remove all objects from the keypad",
    //		"cancel",
    //		"cancel to reject",
    //		"cancelled",
    //		"card read failed try again",
    //		"card read ok",
    //		"cash",
    //		"cash back?",
    //		"cashback",
    //		"chip card read error",
    //		"choose transaction type",
    //		"clear",
    //		"confirm amount",
    //		"connecting online",
    //		"convert to credit?",
    //		"copyright",
    //		"credit",
    //		"debit",
    //		"do not remove card",
    //		"done",
    //		"end of key life",
    //		"enter configuration id",
    //		"enter date and time",
    //		"enter force transaction online",
    //		"fail to passthru",
    //		"failed try again",
    //		"fare",
    //		"fatal error",
    //		"fee",
    //		"initializing",
    //		"input date of birth and press enter",
    //		"input joint applicant date of birth and press enter",
    //		"input joint applicant social security number and press enter",
    //		"insert or swipe card",
    //		"international card",
    //		"international card please insert",
    //		"international card please swipe",
    //		"intrusion detected keypad locked",
    //		"invalid entry",
    //		"is amount ok?",
    //		"transaction complete",
    //		"keys not found",
    //		"not authorized, available",
    //		"offline",
    //		"offline available fund",
    //		"other",
    //		"other amount",
    //		"out of order",
    //		"payment",
    //		"pin try limit exceeded",
    //		"please enter amount",
    //		"please enter cash back amount",
    //		"please enter phone number",
    //		"please enter social security number",
    //		"please enter tip",
    //		"please enter tip amount using keypad",
    //		"please enter tip option using keypad",
    //		"please enter zip code",
    //		"please insert card",
    //		"please insert or swipe card",
    //		"please insert swipe or try another card",
    //		"please present card",
    //		"please present one card only",
    //		"please press enter on keypad to continue",
    //		"please press enter to continue",
    //		"please push enter",
    //		"please re-enter phone number",
    //		"please re-enter zip code",
    //		"please remove card",
    //		"please see attendant",
    //		"please select 1 card",
    //		"please select option",
    //		"please sign on the screen",
    //		"please sign the receipt",
    //		"please swipe card",
    //		"please try again",
    //		"please tap card",
    //		"please use chip reader",
    //		"please use keypad to confirm",
    //		"please use keypad to confirm or cancel",
    //		"please use keypad to select account",
    //		"please use keypad to select option",
    //		"press cancel to reject",
    //		"press enter to accept",
    //		"processing",
    //		"purchase",
    //		"purchase with cashback",
    //		"push enter",
    //		"receipt?",
    //		"signature required transaction not completed",
    //		"subtotal",
    //		"swipe again",
    //		"tap again",
    //		"tap card",
    //		"tap or insert card",
    //		"tap or swipe card",
    //		"tap, insert or swipe card",
    //		"tip",
    //		"tip amount",
    //		"total",
    //		"total charged to card",
    //		"transaction not completed",
    //		"unit disabled",
    //		"vivotech, inc.",
    //		"voucher",
    //		"would you like a receipt?",
    //		"authorizing,",
    //		"available",
    //		"balance",
    //		"remove card please wait",
    //		"see phone for instructions",
    //		"select application",
    //		"select language",
    //		"Transaction Cancelled",
    //		"Transaction Timed Out",
    //		"Transaction Declined"

    "",                                  "VALOR:",
    "VALOR CORRECTO?",
    "APROBADO",
    "LLAME A SU BANCO",
    "CANCELAR O ENTRAR",
    "ERROR DE TARJETA",
    "RECHAZADO",
    "ENTRE VALOR",
    "ENTRE PIN:",
    "PIN INCORRECTO",
    "INSERTE/PASE LA TARJETA",
    "TARJETA",
    "INSERTE TARJETA",
    "USE LECTOR CHIP",
    "NO ACEPTADA",
    "PIN OK",
    "POR FAVOR ESPERE",
    "ERROR EN PROCESAMIENTO",
    "USE LECTOR BANDA MAGNETICA",
    "TRATE NUEVAMENTE",
    "AUTORIZANDO...",
    "ERROR EN LA TRANSACCIÓN",
    "TERMINADO",
    "SUGERENCIA",
    "TIEMPO AGOTADO",
    "PROCESANDO...",
    "LIMIT DE ENTRADA DE PIN EXCEDIDA",
    "FALLA AUTENTIC. DEL EMISSOR",
    "CONTINUAR PROCESO",
    "ERROR EN OBTENER PIN",
    "FALLA AL OBTENER PIN",
    "NO CLAVE OBTENER PIN",
    "CANCELADO",
    "ULTIMA TENTATIVA DE PIN",
    "BIENVENIDO",
    "OTRO VALOR",
    "ENTRE OTRO VALOR",
    "FALLA DE VALOR CAPK HASH",
    "RETIRE TARJETA",                    "",                                       "",
    "",                                  "",                                       "",
    "",                                  "",                                       "",
    "GO ONLINE",                         "",                                       "",
    "",                                  "",                                       "",
    "",                                  "",                                       "",
    "",                                  "",                                       "",
    "",                                  "",                                       "",
    "",
    "TRATE DE PASAR TARJETA DE NUEVO",
    "ULTIMO INTENTO DE PASAR TARJETA",
    "TRATE DE INSERTR TARJETA DE NUEVO",
    "POR FAVOR RETIRE LA TARJETA",       "GRACIAS",
    "NO AUTORIZADO",
    "TRANSACCIÓN CONCLUIDA",
    "FALLA",
    "ERROR",
    "PARE",
    "VER TELÉFONO",
    "POR FAVOR FIRMAR RECIBO",
    "FIRMA REQUERIDA",
    "NO CONECTADO",
    "NUMERO DE TENTATIVAS EXCED",
    "ERROR DE FORMA",
    "VALOR FUERA DE LINEA",
    "BALANCE:",
    "REEMBOLSO",
    "PASE LA TARJETA",
    "PRESENTE TARJETA",
    "PRESENTE/PASE LA TARJETA",
    "INSIRA/PRESENTE LA TARJETA",
    "INSIRA/PRESENTE/ PASE TARJETA",
    "UTILIZAR CHIP + PIN",
    "INTENTAR OTRA FORMA DE PAGO",
    "USE OTRA TARJETA",
    "FAVOR USE OTRA TARJETA VISA",
    "USE OTRA FORMA DE PAGO",
    "SIN TARJETA",
    "PRESENTE SOLO UNA TARJETA",
    "SOLO TARJETAS INTERNACIONALES",
    "PASE LA TARJETA DE NUEVO",
    "ÚLTIMO PASO DE LA TARJETA",
    "INSERTE TARJETA DE NUEVO",
    "TARJETA BLOQUEADA",
    "CORREGIR PIN",
    "ENTRAR PIN DE NUEVO",
    "NO SE PUEDE ENTRAR PIN",
    "ELIJA PRÓXIMO CANDIDATO",
    "TARJETA LEIDA RETIRE TARJETA",
    "DISPONIBLE:",
    "POR FAVOR ESPERE",
    "INICIALIZANDO POR FAVOR ESPERE",
    "APROBADO BAL:",
    "RECHAZADO BAL:",
    "PIN REQUERIDO",
    "TIPO DE PAGO NO ACEPTADO",
    "APROVADO EN LINEA",
    "RECHAZADO EN LINEA",
    "FALLO EN LINEA",
    "LISTADO TARJETAS RECHAZADAS",
    "TARJETA EXPIRADA",
    "APROBADO ENLINEA BAL:",
    "RECHAZAD ENLINEA BAL:",
    "ODA REALIZADO SDA EXITOSO",
    "ODA REALIZADO FDDA EXITOSO",
    "ODA REALIZADO SDA FALLO",
    "ODA REALIZADO FDDA FALLO",
    "FALLO ODA",
    "VER PINPAD",
    "APROVADO FUERA DE LINEA",
    "RECHAZADO FUERA DE LINEA",
    "APROBADO FUERA DE LINEA BAL:",
    "RECHAZADO FUERA DE LINEA BAL:",
    "PRESENTE TARJETA UNA VEZ MAS",
    "INSERTE/PASE O USE OTRA TARJETA",
    "APROVADO POR FAVOR FIRME",
    "NO RETIRE LA TARJETA",              ""
};

char * languageZH[] = {
    //		"",
    //        "金额",
    //        "确定金额?",
    //        "通过",
    //        "请联系您的银行",
    //        "取消或确定",
    //        "读卡错误",
    //        "卡被拒",
    //        "输入金额",
    //        "请输入密码:",
    //        "密码错误",
    //        "请刷卡或插卡",
    //        "卡",
    //        "请插卡",
    //        "使用芯片卡",
    //        "无法接受",
    //        "获取密码正确",
    //        "等候中",
    //        "处理错误",
    //        "使用磁条卡",
    //        "请重试",
    //        "在线",
    //        "交易错误",
    //        "终止",
    //        "建议",
    //        "超时",
    //        "处理中...",
    //        "密码尝试次数过多",
    //        "与发卡机构认证",
    //        "继续处理",
    //        "密码错误",
    //        "获取密码错误",
    //        "无法输入密码",
    //        "取消",
    //        "最后一次输入密码",
    //        "欢迎使用",
    //        "返现",
    //        "输入返现",
    //        "公钥哈希值错误",
    //         "请取卡",
    // "","","","","","","","","","","","","","","","","","","","","","","","",
    //		"再次使用磁条卡",
    //		"最后一次使用磁条卡",
    //		"公钥哈希值错误",
    //		"请取卡",
    //		"谢谢您",
    //		"未授权",
    //		"交易完成",
    //		"失败",
    //		"错误",
    //		"停止",
    //		"请查看手机",
    //		"请签收据",
    //		"需要签名",
    //		"未连接",
    //		"过多尝试",
    //		"格式错误",
    //		"线下金额",
    //		"余额：",
    //		"退款",
    //		"请刷卡",
    //		"请拍卡",
    //		"请拍卡或刷卡",
    //		"请插卡或拍卡",
    //		"请插卡或拍卡或刷卡",
    //		"使用芯片及密码",
    //		"请尝试其他界面",
    //		"请用其他卡",
    //		"请用其他VISA卡",
    //		"请用另外一种支付方式",
    //		"无卡",
    //		"请拍一张卡",
    //		"请用国际卡",
    //		"请再次刷卡",
    //		"最后一次刷卡",
    //		"请再次插卡",
    //		"卡被锁",
    //		"请更正密码",
    //		"请再次输入密码",
    //		"无法输入密码",
    //		"请选择下一个候选",
    //		"读卡成功 请移卡",
    //		"可用：",
    //		"请等待",
    //		"初始化中 请等待",
    //		"通过，余额：",
    //		"拒绝，余额：",
    //		"需要密码",
    //		"不接受此支付方式",
    // "","","","","","","","","","","","","","","",
    //		"approved avail",
    //		"approved available",
    //		"authorized",
    //		"calibration in progress please remove all objects from the keypad",
    //		"cancel",
    //		"cancel to reject",
    //		"cancelled",
    //		"card read failed try again",
    //		"card read ok",
    //		"cash",
    //		"cash back?",
    //		"cashback",
    //		"chip card read error",
    //		"choose transaction type",
    //		"clear",
    //		"confirm amount",
    //		"connecting online",
    //		"convert to credit?",
    //		"copyright",
    //		"credit",
    //		"debit",
    //		"do not remove card",
    //		"done",
    //		"end of key life",
    //		"enter configuration id",
    //		"enter date and time",
    //		"enter force transaction online",
    //		"fail to passthru",
    //		"failed try again",
    //		"fare",
    //		"fatal error",
    //		"fee",
    //		"initializing",
    //		"input date of birth and press enter",
    //		"input joint applicant date of birth and press enter",
    //		"input joint applicant social security number and press enter",
    //		"insert or swipe card",
    //		"international card",
    //		"international card please insert",
    //		"international card please swipe",
    //		"intrusion detected keypad locked",
    //		"invalid entry",
    //		"is amount ok?",
    //		"transaction complete",
    //		"keys not found",
    //		"not authorized, available",
    //		"offline",
    //		"offline available fund",
    //		"other",
    //		"other amount",
    //		"out of order",
    //		"payment",
    //		"pin try limit exceeded",
    //		"please enter amount",
    //		"please enter cash back amount",
    //		"please enter phone number",
    //		"please enter social security number",
    //		"please enter tip",
    //		"please enter tip amount using keypad",
    //		"please enter tip option using keypad",
    //		"please enter zip code",
    //		"please insert card",
    //		"please insert or swipe card",
    //		"please insert swipe or try another card",
    //		"please present card",
    //		"please present one card only",
    //		"please press enter on keypad to continue",
    //		"please press enter to continue",
    //		"please push enter",
    //		"please re-enter phone number",
    //		"please re-enter zip code",
    //		"please remove card",
    //		"please see attendant",
    //		"please select 1 card",
    //		"please select option",
    //		"please sign on the screen",
    //		"please sign the receipt",
    //		"please swipe card",
    //		"please try again",
    //		"please tap card",
    //		"please use chip reader",
    //		"please use keypad to confirm",
    //		"please use keypad to confirm or cancel",
    //		"please use keypad to select account",
    //		"please use keypad to select option",
    //		"press cancel to reject",
    //		"press enter to accept",
    //		"processing",
    //		"purchase",
    //		"purchase with cashback",
    //		"push enter",
    //		"receipt?",
    //		"signature required transaction not completed",
    //		"subtotal",
    //		"swipe again",
    //		"tap again",
    //		"tap card",
    //		"tap or insert card",
    //		"tap or swipe card",
    //		"tap, insert or swipe card",
    //		"tip",
    //		"tip amount",
    //		"total",
    //		"total charged to card",
    //		"transaction not completed",
    //		"unit disabled",
    //		"vivotech, inc.",
    //		"voucher",
    //		"would you like a receipt?",
    //		"authorizing,",
    //		"available",
    //		"balance",
    //		"remove card please wait",
    //		"see phone for instructions",
    //		"select application",
    //		"select language",
    //		"Transaction Cancelled",
    //		"Transaction Timed Out",
    //		"Transaction Declined"

    "",               "金额",
    "确定金额",
    "通过",
    "请联系您的银行",
    "取消或确定",
    "读卡错误",
    "卡被拒",
    "输入金额",
    "请输入密码",
    "密码错误",
    "请刷卡或插卡",
    "卡",
    "请插卡",
    "使用芯片卡",
    "无法接受",
    "密码正确",
    "等候中",
    "处理错误",
    "使用磁条卡",
    "请重试",
    "认证",
    "交易错误",
    "终止",
    "建议",
    "超时",
    "处理中...",
    "密码尝试次数过多",
    "与发卡机构认证",
    "继续处理",
    "密码错误",
    "获取密码错误",
    "无法输入密码",
    "取消",
    "最后一次输入密码",
    "欢迎使用",
    "返现",
    "输入返现",
    "公钥哈希值错误",
    "请取卡",            "",                "",                 "",                 "",                 "",
    "",               "",                "",
    "在线",             "",                "",                 "",                 "",                 "",
    "",               "",                "",
    "",               "",                "",                 "",                 "",                 "",
    "",
    "再次使用磁条卡",
    "最后一次使用 磁条卡",
    "再次使用芯片卡",
    "请取卡",
    "谢谢您",
    "未授权",
    "交易完成",
    "失败",
    "错误",
    "停止",
    "请查看手机",
    "请签收据",
    "需要签名",
    "未连接",
    "过多尝试",
    "格式错误",
    "线下金额",
    "余额：",
    "退款",
    "请刷卡",
    "请拍卡",
    "请拍卡或刷卡",
    "请插卡或拍卡",
    "请插卡或拍卡 或刷卡",
    "使用芯片及密码",
    "请尝试其他界面",
    "请用其他卡",
    "请用其他VISA 卡",
    "请用另外一种 支付方式",
    "无卡",
    "请拍一张卡",
    "请用国际卡",
    "请再次刷卡",
    "最后一次刷卡",
    "请再次插卡",
    "卡被锁",
    "请更正密码",
    "请再次输入密码",
    "无法输入密码",
    "请选择下一个候选",
    "读卡成功 请移卡",
    "可用：",
    "请等待",
    "初始化中 请等待",
    "通过，余额：",
    "拒绝，余额：",
    "需要密码",
    "不接受此支付方式",
    "交易联机批准",
    "交易联机拒绝",
    "交易联机不成功 脱机拒绝",
    "黑名单卡",
    "卡片过有效期",
    "交易联机批准 余额：",
    "交易联机拒绝 余额：",
    "ODA 执行 SDA 成功",
    "ODA 执行 FDDA 成功",
    "ODA 执行 SDA 失败",
    "ODA 执行 FDDA 失败",
    "ODA 失败",
    "请看PINPAD",
    "交易脱机批准",
    "交易脱机拒绝",
    "交易脱机批准 余额：",
    "交易脱机拒绝 余额：",
    "请再次拍卡",
    "请插卡或拍卡 或尝试其他卡",
    "已批准 请签名",
    "请勿移卡",           ""
};

char * languageEF[] = {
    "",                                   "AMOUNT/MONTANT:  ",
    "AMOUNT OK? MONTANT OK? ",
    "APPROVED APPROUVÉ ",
    "CALL YOUR BANK APPELEZ BANQUE ",
    "CANCEL OR ENTER ANNULEZ/ENTREZ ",
    "CARD ERROR ERREUR DE CARTE ",
    "DECLINED REFUSÉ ",
    "ENTER AMOUNT ENTRER MONTANT ",
    "PLEASE ENTER PIN ENTRER CODE: ",
    "INCORRECT PIN CODE INCORRECT ",
    "INSERT/SWIPE INSÉREZ/PASSEZ ",
    "CARD CARTE ",
    "INSERT CARD INSÉRER CARTE ",
    "USE CHIP READER UTILISEZ PUCE ",
    "NOT ACCEPTED PAS ACCEPTÉ ",
    "GET PIN OK CODE BON ",
    "PLEASE WAIT... ATTENDEZ... ",
    "PROCESSING ERROR ERREUR DE TRAIT. ",
    "USE MAGSTRIPE UTILISEZ PISTE ",
    "TRY AGAIN REESSAYEZ ",
    "AUTHORIZING... AUTORISATION ",
    "TRANSACTION ERR ERR TRANSACTION ",
    "TERMINATED FINI ",
    "ADVICE CONSEILS ",
    "TIMEOUT FIN D’ATTENTE ",
    "PROCESSING... EN COURS... ",
    "PIN TRY LIMIT EX #ESSAIS DÉPASSÉS ",
    "ISSUER AUTH FAIL ERREUR ÉMETTEUR ",
    "CONTINUE PROCESS CONTINUER ",
    "GET PIN ERROR ERREUR DU CODE ",
    "GET PIN FAIL ECHEC DU CODE ",
    "NO KEY GET PIN PAS DE CLÉ PIN ",
    "CANCELED ANNULÉ ",
    "LAST PIN TRY DERNIER ESSAI ",
    "WELCOME BIENVENUE ",
    "AMOUNT OTHER MONTANT AUTRE ",
    "ENTER AMT OTHER ENTREZ MT AUTRE ",
    "CAPK HASH VALUE/ VALEUR FAIL/ERR ",
    "REMOVE CARD RETIREZ LA CARTE ",      "  ",                                                 "  ",
    "  ",                                 "  ",                                                 "  ",
    "  ",                                 "  ",                                                 "  ",
    "GO ONLINE ALLEZ EN  LIGNE ",         "  ",                                                 "  ",
    "  ",                                 "  ",                                                 "  ",
    "  ",                                 "  ",                                                 "  ",
    "  ",                                 "  ",                                                 "  ",
    "  ",                                 "  ",                                                 "  ",
    "  ",
    "TRY MSR AGAIN REPASSEZ CARTE ",
    "LAST MSR TRY DERNIER ESSAI ",
    "TRY ICC AGAIN REINSÉRER CARTE ",
    "REMOVE CARD RETIREZ CARTE ",
    "THANK YOU MERCI ",
    "NOT AUTHORIZED PAS AUTORISÉ ",
    "TRANSACTION DONE TRANSACTION TERM ",
    "FAIL ÉCHEC ",
    "ERROR ERREUR ",
    "STOP ARRÊTEZ ",
    "SEE MOBILE PHONE VOIR MOBILE ",
    "SIGN RECEIPT SIGNEZ LE REÇU ",
    "SIGNATUREREQUIRE SIGNATURE REQ ",
    "NOT CONNECTED PAS CONNECTÉ ",
    "TOO MANY TAPS TROP D'ESSAIS ",
    "FORM ERROR ERREUR DE FORME ",
    "OFFLINE AMOUNT MT HORS LIGNE ",
    "BALANCE/SOLDE:  ",
    "REFUND REMBOURSEMENT ",
    "SWIPE CARD PASSEZ CARTE ",
    "PURCHASE/ACHAT:  ",
    "PRESENT/SWIPE PRESENTEZ/PASSEZ ",
    "INSERT/PRESENT INSÉREZ OU PRES. ",
    "INSERT/TAP/SWIPE INS/PRESENT/PASS ",
    "USE CHIP & PIN INSÉRER CARTE ",
    "ANOTHERINTERFACE AUTRE INTERFACE ",
    "USE OTHER CARD UTIL AUTRE CARTE ",
    "USE OTHER CARD AUTRE CARTE VISA ",
    "SWIPE CARD PASSEZ CARTE ",
    "NO CARD PAS DE CARTE ",
    "PRESENT 1 CARD UNE SEULE CARTE ",
    "CARD/CARTE INTERNATIONAL(E) ",
    "SWIPE CARD AGAIN PASSEZ CARTE ",
    "LAST SWIPE CARD DERNIER ESSAI ",
    "INSERT CARD INSÉREZ CARTE ",
    "CARD BLOCKED CARTE BLOQUÉE ",
    "CORRECT PIN CORRIGER CODE ",
    "ENTER PIN AGAIN RE-ENTREZ CODE ",
    "UNABLE TO ENTER PB CODE ",
    "NEXT CANDIDATE CANDIDAT SUIVANT ",
    "REMOVE CARD RETIREZ CARTE ",
    "AVAILABLE: DISPONIBLE: ",
    "PLEASE WAIT ATTENDEZ SVP ",
    "INITIALIZING INITIALISATION ",
    "APPROVED BAL: APPROUVÉ SOLDE: ",
    "DECLINED BAL: REFUSÉ SOLDE: ",
    "PIN REQUIRED CODE REQUIS ",
    "NOT ACCEPTED PAS ACCEPTÉ ",
    "ONLINE APPROVED APPROUVÉ ONLINE ",
    "ONLINE DECLINED REFUSÉ ONLINE ",
    "OFFLINE DECLINED REFUSÉ OFFLINE ",
    "BLACKLIST EN LISTE NOIRE ",
    "CARD EXPIRED CARTE EXPIRÉE ",
    "ONL APPROV BAL: APP. ONL SOLDE: ",
    "ONL DECLIN BAL: REF. ONL SOLDE: ",
    "ODA PERF/SDA OK SUCCÈS SDA ",
    "ODA PERF/FDDA OK SUCCÈS FDDA ",
    "ODA PERF/SDA KO ÉCHEC SDA ",
    "ODA PERF/FDDA KO ÉCHEC FDDA ",
    "ODA FAIL ODA ÉCHOUÉE ",
    "SEE PINPAD VOIR PINPAD ",
    "OFFLINE APPROVED APPROUVÉ OFFLINE ",
    "OFFLINE DECLINED REFUSÉ OFFLINE ",
    "OFF APPROV BAL: APP. OFF SOLDE: ",
    "OFF DECLIN BAL: REF. OFF SOLDE: ",
    "PRESENT AGAIN RE-PRÉSENTEZ ",
    "INS/SWIP/OTHE ESS. AUTRE CARTE ",
    "APPROVED SIGN APPROUVÉ SIGNEZ ",
    "KEEP CARD INSIDE LAISSER CARTE ",    ""
};

char * languagePT[] = {
    "",                                "VALOR:",
    "VALOR OK?",
    "APROVADO",
    "LIGUE PARA SEU BANCO",
    "CANCELA / ENTRA",
    "ERRO DE CARTÃO",
    "RESCUSADO",
    "INSERIR VALOR",
    "INSERIR SENHA:",
    "SENHA INCORRETA",
    "INSIRA/PASSE O CARTÃO",
    "CARTÃO",
    "INSIRA O CARTÃO",
    "USE LEITOR CHIP",
    "NÃO ACEITO",
    "PIN OK",
    "POR FAVOR ESPERE",
    "ERRO PROCESSANDO",
    "USE LEITOR TARJA",
    "TENTE NOVAMENTE",
    "AUTORIZANDO...",
    "ERRO TRANSAÇÃO",
    "ENCERRADO",
    "SUGESTÃO",
    "TEMPO ESGOTADO",
    "PROCESSANDO...",
    "LIMITE DE SENHA EXCEDIDO",
    "FALHA AUTENTIC. DO EMISSOR",
    "CONTINUAR PROCESSO",
    "ERRO EM OBTER SENHA",
    "FALHA EM OBTER SENHA",
    "CHAVE INEXISTENT OBTER SENHA",
    "CANCELADO",
    "ÚLTIMA TENTATIVA DE SENHA",
    "BEM VINDO",
    "OUTRO VALOR",
    "ENTRE OUTRO VALOR",
    "FALHA DE VALOR CAPK HASH",
    "REMOVA O CARTÃO",                 "",                                     "",
    "",                                "",                                     "",
    "",
    "",                                "",
    "GO ONLINE",                       "",                                     "",
    "",                                "",                                     "",
    "",
    "",                                "",                                     "",
    "",
    "",                                "",                                     "",
    "",
    "",
    "TENTE PASSAR CARTÃO DE NOVO",
    "ÚLTIMA TENTATIVA DE PASSAGEM",
    "TENTE INSERIR CARTÃO DE NOVO",
    "POR FAVOR RETIRE O CARTÃO",
    "OBRIGADO",
    "NÃO AUTORIZADO",
    "TRANSAÇÃO CONCLUÍDA",
    "FALHA",
    "ERRO",
    "PARE",
    "VEJA TELEFONE",
    "POR FAVOR ASSINAR RECIBO",
    "ASSINATURA REQUERIDA",
    "NÃO CONECTADO",
    "NÚMERO DE TENTATIVAS EXCED",
    "ERRO DE FORMA",
    "VALOR OFFLINE",
    "SALDO:",
    "REEMBOLSO",
    "PASSE O CARTÃO",
    "APRESENTE CARTÃO",
    "APROXIME/PASSE O CARTÃO",
    "INSIRA/APROXIME O CARTÃO",
    "INSIRA/APROXIME/ PASSE O CARTÃO",
    "USAR CARTÃO + SENHA",
    "TENTE OUTRA FORMA DE PAGAMEN",
    "USE OUTRO CARTÃO",
    "FAVOR USAR OUTRO CARTÃO VISA",
    "USE OUTRA FORMA DE PAGAMENTO",
    "CARTÃO NÃO DETECTADO",
    "APROXIME SOMENTE UM CARTÃO",
    "SOMENTE CARTÕES INTERNACIONAIS",
    "PASSE O CARTÃO DE NOVO",
    "ÚLTIMO PASSE DO CARTÃO",
    "INSERIR O CARTÃO NOVAMENTE",
    "CARTÃO BLOQUEADO",
    "CORRIGIR SENHA",
    "ENTRE SENHA NOVAMENTE",
    "NÃO É POSSÍVEL DIGITAR SENHA",
    "SELECIONE PRÓXIM CANDIDATO",
    "CARTÃO LIDO REMOVA CARTÃO",
    "DISPONÍVEL:",
    "POR FAVOR ESPERE",
    "INICIALIZANDO POR FAVOR ESPERE",
    "APROVADO SALDO:",
    "RECUSADO SALDO:",
    "SENHA REQUERIDA",
    "TIPO PAGAMENTO NÃO ACEITO",
    "APROVADO ONLINE",
    "DECLINADO ONLINE",
    "FALHA ONLINE",
    "LISTA DE CARTÕES REJEITADOS",
    "CARTÃO EXPIRADO",
    "APROVADO ONLINE SALDO:",
    "RECUSADO ONLINE SALDO:",
    "ODA REALIZADO SDA SUCESSO",
    "ODA REALIZADO FDDA SUCESSO",
    "ODA REALIZADO SDA FALHA",
    "ODA REALIZADO FDDA FALHA",
    "ODA FALHA",
    "VEJA TERMINAL",
    "APROVADO OFFLINE",
    "RECUSADO OFFLINE",
    "APROVADO OFFLINE SALDO:",
    "RECUSADO OFFLINE SALDO:",
    "UTILIZE O CARTÃO NOVAMENTE",
    "INSERIR/PASSAR OUTRO CARTÃO",
    "APROVADO FAVOR ASSINAR",
    "NÃO RETIRE O CARTÃO",             ""
};

char * languageTQ[] = {
    "",                             "TUTAR",
    "TUTAR TAMAM",
    "ONAYLANDI",
    "BANKANI ARA",
    "IPTAL VEYA GIRIS",
    "KART HATASI",
    "RED EDILDI",
    "TUTAR GIRIN",
    "LUTFEN PIN GIRIN",
    "YANLIS PIN",
    "KARTI OKUTUN",
    "KART",
    "KARTI OKUT",
    "CHIP OKUYUCU KULLANIN",
    "KABUL EDILMEDI",
    "PIN GIRISI TAMAM",
    "LUTFEN BEKLEYIN",
    "ISLEM HATASI",
    "MANYETIK KULLANIN",
    "YENIDEN DENE",
    "ONAY ALINIYOR",
    "ISLEM HATASI",
    "ISLEM SONU",
    "BILGILENDIRME",
    "ZAMAN ASIMI",
    "ISLEM YAPILIYOR",
    "SIFRE DENEME LIMIT ASIMI",
    "OTARIZASYON BASARISIZ",
    "ISLEME DEVAM",
    "PIN ALIM HATASI",
    "PIN ALIM OLMADI",
    "PIN ALIMI YOK",
    "IPTAL",
    "SON GIRILEN PIN",
    "HOS GELDINIZ",
    "DIGER TUTAR",
    "DIGER TUTAR GIR",
    "CAPK HASH DEGERI OLMADI",
    "KARTI CIKARIN",                "",                                 "",     "",     "",     "",     "",     "",
    "",                           "",                                 "",     "",     "",     "",     "",     "",    "","", "",
    "",
    "",
    "",
    "",
    "",
    "",
    "MANYETIK TEKRAR DENEYIN",
    "SON MANYETIK OKUTMAYI DENE",
    "KART OKUYMAYI YENIDEN DENE",
    "LUTFEN KARTI CIKARIN",
    "TESEKKUR EDERIZ",
    "OTORIZASYON RED EDILDI",
    "ISLEM TAMAM",
    "BASARISIZ",
    "HATA",
    "STOP",
    "MOBIL TELEFONA BAKIN",
    "LUTFEN SLIPI IMZALAYIN",
    "IMZA GEREKLIDIR",
    "BAGLANAMADI",
    "COK FAZLA OKUTMA",
    "FORM HATASI",
    "OFFLINE TUTAR",
    "BAKIYE",                       "IADE",
    "KARTI OKUTUN",
    "KARTI OKUTUN",
    "KARTI OKUTUN",
    "KARTI OKUTUN",
    "KARTI OKUTUN",
    "CHIP VE PIN KULLANIN",
    "BASKA YONTEMLE OKUTUN",
    "BASKA BIR KART KULLANIN",
    "BASKA VISA KART KULLANIN",
    "FARKLI ODEME YONTEM KULLAN",
    "KART YOK",
    "LUTFEN TEK BIR KART OKUTUN",
    "ULUSLARARASI KARTLAR",
    "KARTINIZI TEKRAR OKUTUN",
    "SON KARTINIZI OKUTUN",
    "KARTI YENIDEN OKUTUN",
    "KART BLOKE OLDU",
    "DOGRU PIN",
    "TEKRAR PIN GIRIN",
    "PIN GIRISI OLMADI",
    "SONRAKINI SEC",
    "KART OKUNDU KARTINI CIKAR",
    "UYGUN",
    "LUTFEN BEKLEYIN",
    "HAZIRLANIYOR LUTFEN BEKLEYIN",
    "ONAY BAKIYE",
    "RED OLAN BAKIYE",
    "PIN GEREKLI",
    "ODEME TIPI KABUL EDILMEDI",
    "ONLINE ONAY",
    "ONLINE RED",
    "ONLINE BASARISIZ OFFLINE RED",
    "KARA LISTE",
    "KART KULLANIM SURESI DOLMUS",
    "ONLINE ONAY TUTAR:",
    "ONLINE RED TUTAR:",
    "ODA ISLEMI SDA BASARILI",
    "ODA ISLEMI FDDA BASARILI",
    "ODA ISLEMI SDA BASARISIZ",
    "ODA ISLEMI FDDA BASARISIZ",
    "ODA BASARISIZ",
    "PIN GIRISINE BAK",
    "OFFLINE ONAY",
    "OFFLINE RED",
    "OFFLINE ONAY TUTAR:",
    "OFFLINE RED TUTAR:",
    "KARTINI TEKRAR OKUT",
    "BASKA BIR KART DENEYIN",
    "ONAYLANDI LUTFEN IMZALA",
    "KARTI CIKARMAYIN",             ""
};

char * languageJP[] = {
    "",                  "金額:",
    "金額を 確認して下さい",
    "処理が 完了しました",
    "カード会社に 連絡して下さい",
    "暗証番号入力 またはキャンセル",
    "カードが 読めませんでした",
    "処理が できませんでした",
    "金額を 入力して下さい",
    "暗証番号を 入力して下さい",
    "暗証番号が 間違っています",
    "カードを差し込む またはスライド",
    "カード",               "カードを 差し込んで下さい",
    "カードを 差し込んで下さい",
    "処理が できませんでした",
    "暗証番号を 確認しました",
    "しばらく お待ち下さい",
    "処理エラー",
    "カードをスライド して下さい",
    "もう一度 お願いします",       "処理中です",
    "トランザクション エラー",
    "処理が できませんでした",
    "処理が できませんでした",
    "タイムアウト しました",
    "処理中です",
    "暗証番号入力上限 を超過しました",
    "このカードは 使用できません",
    "処理を続けます",
    "暗証番号取得 エラー",
    "暗証番号取得 エラー",
    "暗号鍵が ありません",
    "キャンセル しました",
    "暗証番号をどうぞ (あと1回まで)",
    "ようこそ",
    "税その他",
    "税その他の金額を 入力して下さい",
    "CAPKハッシュ 取得エラー",
    "カードを お取り下さい",       "",                           "",                            "",                            "",
    "",                  "",                           "",
    "",
    "オンラインにして ください",     "",                           "",                            "",                            "",
    "",                  "",                           "",
    "",                  "",                           "",                            "",                            "",
    "",                  "",                           "",
    "もう一度カードを 通して下さい",
    "カードを通して 下さい(後1回)",
    "カードをもう一度 挿入して下さい",
    "カードを お取り下さい",
    "ご利用ありがとう ございました",
    "処理が できませんでした",
    "処理が 完了しました",
    "処理が できませんでした",
    "エラーが 発生しました",
    "操作を 中止してください",
    "携帯電話の画面を 確認して下さい",
    "サインを お願いします",
    "サインが必要です",
    "未接続です",
    "画面のタップの 回数が多すぎます",
    "形式のエラーです",
    "オフラインの 金額です",
    "残高:",
    "取消",
    "カードを 通して下さい",
    "カードを かざして下さい",
    "カードをかざすか 通して下さい",
    "カードをかざすか 挿入して下さい",
    "クレジットカード がご利用できます",
    "カードを 挿入して下さい",
    "他の方法で 処理して下さい",
    "他のカードを 使用して下さい",
    "他のVISA カードをどうぞ",
    "他の方法を 選択して下さい",
    "カードが ありません",
    "カードを一枚だけ かざしてください",
    "国際カードのみ 使用できます",
    "カードをスライド して下さい",
    "カードをスライド (後1回)",
    "もう一度カードを 差し込んで下さい",
    "このカードは 使用できません",
    "暗証番号を 再入力して下さい",
    "暗証番号を 再入力して下さい",
    "暗証番号が 入力できません",
    "次の候補を 選んで下さい",
    "カードを お取り下さい",
    "利用可能：",
    "お待ちください",
    "初期化中 お待ち下さい",
    "処理完了 残高:",
    "処理失敗 残高:",
    "暗証番号を 入力して下さい",
    "このカードは 使用できません",
    "オンライン承認",
    "オンライン拒否",
    "オンライン失敗 オフライン拒否",
    "ブラックリスト",
    "カード 有効期限切れ",
    "オンライン承認 残高:",
    "オフライン拒否 残高:",
    "ODA実施 SDA成功",
    "ODA実施 FDDA成功",
    "ODA実施 SDA失敗",
    "ODA実施 FDDA失敗",
    "ODA失敗",
    "PINパッドを 確認して下さい",
    "オフライン承認",
    "オフライン拒否",
    "オンライン承認 残高:",
    "オフライン拒否 残高:",
    "もう一度カードを かざして下さい",
    "もう一度 お願いします",
    "承認されました サインをどうぞ",
    "カードを 抜かないで下さい",     ""
};

char * ctlsEN0_1[] = {
    "Welcome",
    "Please Tap Or",
    "No Card",
    "Processing",
    "Thank You",
    "Fail",
    "Amount:",
    "Balance:",
    "Use Chip",
    "Please",
    "Present One",
    "Please Wait",
    "Please",
    "Approved",
    "Not",
    "Declined",
    "Terminated",
    "Try Other",
    "Use Other Card",
    "Time Out",
    "Cancel",
    "Authorizing",
    "See Mobile Phone",
    "Not Accepted",
    "Insert Card",
    "Refund",
    "STOP",
    "Use Alternative",
    "DONE",
    "Present Card",
    "Approved, Bal:",
    "Declined, Bal:",
    "Please Wait",
    "Not",
    "Available:",
    "Card Read OK",
    "Present Card:",
    "Try Again",
    "Transaction",
    "Please Use",
    "International",
    "Please",
    "Please",
    "Offline Amount",
    "Signature",
    "Initializing",
    "",
    "",
    "",
    "",
    "",
    "Too Many Taps",
    "PIN Required"
};

char * ctlsEN0_2[] = {
    "",
    "Swipe Card",
    "",
    "",
    "",
    "",
    "",
    "",
    "& PIN",
    "Try Again",
    "Card Only",
    "",
    "Remove Card",
    "",
    "Authorized",
    "",
    "",
    "Interface",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "Payment Method",
    "",
    "",
    "",
    "",
    "",
    "",
    "Remove Card",
    "",
    "",
    "Completed",
    "Other VISA Card",
    "Card Only",
    "Sign Receipt",
    "Enter PIN",
    "",
    "Required",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    ""
};


char * ctlsFR0_1[] = {
    "Bienvenue",
    "Présentez",
    "Pas de carte",
    "En cours",
    "Merci",
    "Échec",
    "Montant:",
    "Solde:",
    "Insérez",
    "Ré-essayez",
    "Présentez une",
    "Attendez",
    "Retirez",
    "Approuvé",
    "Non",
    "Refusé",
    "Terminé",
    "Autre Interface",
    "Use Other Card",
    "Pause",
    "Annuler",
    "En Cours",
    "Voir téléphone",
    "Pas accepté",
    "Insérez la carte",
    "Remboursement",
    "Arrêtez",
    "Utilisez une ou",
    "Terminé",
    "Présentez",
    "Approuvé, Solde:",
    "Refusé Solde:",
    "Attendez SVP",
    "Pas",
    "Disponible:",
    "Lecture Carte OK",
    "Présentez carte:",
    "Ré-essayez",
    "Transaction",
    "Utilisez une",
    "Internationale",
    "Signez le recu",
    "Entrez votre",
    "Montant",
    "Signature",
    "Initialisation",
    "",
    "",
    "",
    "",
    "",
    "Trop d’essais",
    "Code Requis"
};

char * ctlsFR0_2[] = {
    "",
    "carte SVP",
    "",
    "",
    "",
    "",
    "",
    "",
    "la carte",
    "",
    "seule carte",
    "",
    "votre carte",
    "",
    "autorisé",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "autre carte",
    "",
    "votre carte",
    "",
    "",
    "",
    "connecté",
    "",
    "Retirez la carte",
    "",
    "",
    "Terminée",
    "autre carte VISA",
    "Carte Seulement",
    "",
    "code",
    "hors ligne",
    "Requise",
    "Attendez SVP",
    "",
    "",
    "",
    "",
    "",
    "",
    ""
};

char * ctlsENFR0_1[] = {
    "Welcome",
    "Tap Or Swipe",
    "No Card",
    "Processing",
    "Thank You",
    "Card Failure",
    "Amount/Montant:",
    "Balance/Solde:",
    "Use Chip & PIN",
    "Please Try Again",
    "Present 1 Card",
    "Please Wait",
    "Remove Card",
    "Approved",
    "Not Authorized",
    "Declined",
    "Cannot Process",
    "AnotherInterface",
    "Use Other Card",
    "Time Out",
    "Cancel",
    "Processing",
    "See Mobile Phone",
    "Not Accepted",
    "Insert Card",
    "Refund",
    "STOP",
    "Swipe Card",
    "DONE",
    "Purchase/Achat",
    "Approved, Bal:",
    "Declined, Bal:",
    "Please Wait",
    "Not Connected",
    "Available:",
    "Remove the card",
    "Purchase/Achat:",
    "Try Again",
    "Transaction Done",
    "Use Other Card",
    "Card/Carte",
    "Sign Receipt",
    "PIN EntryRequire",
    "Offline Amount",
    "SignatureRequire",
    "Initializing",
    "",
    "",
    "",
    "",
    "",
    "Too Many Taps",
    "PIN Required"
};
char * ctlsENFR0_2[] = {
    "Bienvenue",
    "Présentez Carte",
    "Pas de carte",
    "En Cours",
    "Merci",
    "Échec Carte",
    "",
    "",
    "Insérez la carte",
    "Ré-essayez",
    "Présentez 1 Cart",
    "Attendez",
    "Retirez  la Carte",
    "Approuvé",
    "Non autorisé",
    "Refusé",
    "Ne Peut Procés",
    "Autre Interface",
    "",
    "Pause",
    "Annuler",
    "En Cours",
    "Voir téléphone",
    "Pas accepté",
    "Insérez la carte",
    "Remboursement",
    "Arrêtez",
    "Passez la carte",
    "Terminé",
    "",
    "Approuvé, Solde:",
    "Refusé Solde:",
    "Attendez SVP",
    "Pas connecté",
    "Disponible:",
    "Retirez la carte",
    "",
    "Ré-essayez",
    "Transaction Term",
    "Autre carte VISA",
    "International(e)",
    "Signez le recu",
    "Code exigé",
    "Mt hors ligne",
    "SignatureRequise",
    "Initialisation",
    "",
    "",
    "",
    "",
    "",
    "Trop d’essais",
    "Code Requis"
};

char * ctlsEN2_1[] = {
    "Welcome",
    "Thank You",
    "Thank You",
    "Transaction",
    "Please Use",
    "Use Alternative",
    "Present One",
    "International",
    "Please",
    "International",
    "Please",
    "Please",
    "Please",
    "Offline Amount",
    "Please",
    "Signature",
    "",
    "Present Card",
    "Please",
    "Processing",
    "Declined",
    "Terminated",
    "See Mobile Phone",
    "Not Accepted",
    "Insert Card",
    "Refund",
    "STOP",
    "Présentez",
    "DONE",
    "Fail",
    "Approved, Bal:",
    "Declined, Bal:",
    "Please Wait",
    "Not",
    "Balance:",
    "Please Wait",
    "Card Read OK",
    "Approved",
    "Available:",
    "Amount:",
    "Present Card:",
    "No Card",
    "Use Chip",
    "Try Again",
    "Not",
    "Initializing",
    "Try Other",
    "Use Other Card",
    "Time Out",
    "Cancel",
    "Authorizing",
    "Too Many Taps",
    "PIN Required"
};

char * ctlsEN2_2[] = {
    "",
    "",
    "",
    "Completed",
    "Other VISA Card",
    "Payment Method",
    "Card Only",
    "Card Only",
    "Try Again",
    "Card Only",
    "Sign Receipt",
    "Sign Receipt",
    "Enter PIN",
    "",
    "Enter PIN",
    "Required",
    "",
    "",
    "Remove Card",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "carte SVP",
    "",
    "",
    "",
    "",
    "",
    "Connected",
    "",
    "",
    "Remove Card",
    "",
    "",
    "",
    "",
    "",
    "& PIN",
    "",
    "Authorized",
    "Please wait...",
    "Interface",
    "",
    "",
    "",
    "",
    "",
    ""
};


char * ctlsFR2_1[] = {
    "Bienvenue",
    "Merci",
    "Merci",
    "Transaction",
    "Utilisez une",
    "Utilisez une ou",
    "Présentez une",
    "Internationale",
    "Ré-essayez",
    "Internationale",
    "Signez le recu",
    "Signez le recu",
    "Entrez votre",
    "Montant",
    "Entrez votre",
    "Signature",
    "",
    "Présentez",
    "Retirez",
    "En cours",
    "Refusé",
    "Terminé",
    "Voir téléphone",
    "Pas accepté",
    "Insérez la carte",
    "Remboursement",
    "Arrêtez",
    "Tap Or Swipe",
    "Terminé",
    "Échec",
    "Approuvé, Solde:",
    "Refusé Solde:",
    "Attendez SVP",
    "Pas",
    "Solde:",
    "Attendez",
    "Lecture Carte OK",
    "Approuvé",
    "Disponible:",
    "Montant:",
    "Présentez carte:",
    "Pas de carte",
    "Utilisez",
    "Ré-essayez",
    "Non",
    "Initialisation",
    "Autre Interface",
    "Use Other Card",
    "Pause",
    "Annuler",
    "En Cours",
    "Trop d’essais",
    "Code Requis"
};

char * ctlsFR2_2[] = {
    "",
    "",
    "",
    "Terminée",
    "autre carte VISA",
    "autre carte",
    "seule carte",
    "Carte Seulement",
    "",
    "Carte Seulement",
    "",
    "",
    "code",
    "hors ligne",
    "code",
    "Requise",
    "",
    "votre carte",
    "votre carte",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "Présentez Carte",
    "",
    "",
    "",
    "",
    "",
    "connecté",
    "",
    "",
    "Retirez la carte",
    "",
    "",
    "",
    "",
    "",
    "la puce",
    "",
    "autorisé",
    "Attendez SVP",
    "",
    "",
    "",
    "",
    "",
    "",
    ""
};

char * ctlsENFR2_1[] = {
    "Welcome",
    "Thank You",
    "Thank You",
    "Transaction Done",
    "Use Other Card",
    "Swipe Card",
    "Present 1 Card",
    "Card/Carte",
    "Please Try Again",
    "Card/Carte",
    "Sign Receipt",
    "Sign Receipt",
    "PIN EntryRequire",
    "Offline Amount",
    "PIN EntryRequire",
    "SignatureRequire",
    "",
    "Purchase/Achat",
    "Remove Card",
    "Processing",
    "Declined",
    "Cannot Process",
    "See Mobile Phone",
    "Not Accepted",
    "Insert Card",
    "Refund",
    "STOP",
    "Please Tap Or",
    "DONE",
    "Card Failure",
    "Approved, Bal:",
    "Declined, Bal:",
    "Please Wait",
    "Not Connected",
    "Balance/Solde:",
    "Please Wait",
    "Remove the card",
    "Approved",
    "Available:",
    "Amount/Montant:",
    "Purchase/Achat:",
    "No Card",
    "Use Chip & PIN",
    "Try Again",
    "Not Authorized",
    "Initializing",
    "AnotherInterface",
    "Use Other Card",
    "Time Out",
    "Cancel",
    "Processing",
    "Too Many Taps",
    "PIN Required"
};

char * ctlsENFR2_2[] = {
    "Bienvenue",
    "Merci",
    "Merci",
    "Transaction Term",
    "Autre carte VISA",
    "Passez la carte",
    "Présentez 1 Cart",
    "International(e)",
    "Ré-essayez",
    "International(e)",
    "Signez le recu",
    "Signez le recu",
    "Code exigé",
    "Mt hors ligne",
    "Code exigé",
    "SignatureRequise",
    "",
    "",
    "Retirez  la Carte",
    "En Cours",
    "Refusé",
    "Ne Peut Procés",
    "Voir téléphone",
    "Pas accepté",
    "Insérez la carte",
    "Remboursement",
    "Arrêtez",
    "Swipe Card",
    "Terminé",
    "Échec Carte",
    "Approuvé, Solde:",
    "Refusé Solde:",
    "Attendez SVP",
    "Pas connecté",
    "",
    "Attendez",
    "Retirez la carte",
    "Approuvé",
    "Disponible:",
    "",
    "",
    "Pas de carte",
    "Utilizer la puce",
    "Ré-essayez",
    "Non autorisé",
    "Initialisation",
    "Autre Interface",
    "",
    "Pause",
    "Annuler",
    "En Cours",
    "Trop d’essais",
    "Code Requis"
};

char * ctlsEN3_1[] = {
    "Welcome",
    "Please Tap Or",
    "No Card",
    "Not",
    "Card Read OK",
    "Fail",
    "Present Card:",
    "Available:",
    "Use Alternative",
    "Try Again",
    "Present One",
    "Please Wait",
    "Please",
    "Approved",
    "Declined",
    "Payment Type Not Accept",
    "See Attendant",
    "Try Other",
    "Use Other Card",
    "Time Out",
    "Cancel",
    "Authorizing",
    "See Mobile Phone",
    "Not Accepted",
    "Insert Card",
    "Refund",
    "STOP",
    "Present Card",
    "DONE",
    "Thank You",
    "Approved, Bal:",
    "Declined, Bal:",
    "Please Wait",
    "Terminated",
    "Balance:",
    "Amount:",
    "Processing",
    "Use Chip",
    "Please",
    "Not",
    "Transaction",
    "Please Use",
    "International",
    "Please",
    "Please",
    "Offline Amount",
    "Signature",
    "Initializing",
    "Present and Hold",
    "Remove, Tap Again",
    "Approved, Please Sign",
    "Too Many Taps",
    "PIN Required"
};

char * ctlsEN3_2[] = {
    "",
    "Swipe Card",
    "",
    "Connected",
    "Remove Card",
    "",
    "",
    "",
    "Payment Method",
    "",
    "Card Only",
    "",
    "Remove Card",
    "",
    "",
    "",
    "",
    "Interface",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "& PIN",
    "Try Again",
    "Authorized",
    "Completed",
    "Other VISA Card",
    "Card Only",
    "Sign Receipt",
    "Enter PIN",
    "",
    "Required",
    "Please wait...",
    "",
    "",
    "",
    "",
    ""
};

char * ctlsFR3_1[] = {
    "Bienvenue",
    "Présentez",
    "Pas de carte",
    "Pas",
    "Lecture Carte OK",
    "Échec",
    "Présentez carte:",
    "Disponible:",
    "Utilisez une ou",
    "Ré-essayez",
    "Présentez une",
    "Attendez SVP",
    "Retirez",
    "Approuvé",
    "Refusé",
    "",
    "",
    "Autre Interface",
    "Use Other Card",
    "Pause",
    "Annuler",
    "En Cours",
    "Voir téléphone",
    "Pas accepté",
    "Insérez la carte",
    "Remboursement",
    "Arrêtez",
    "Présentez",
    "Terminé",
    "Merci",
    "pprouvé, Solde:",
    "Refusé Solde:",
    "Attendez",
    "Terminé",
    "Solde:",
    "Montant:",
    "En cours",
    "Insérez",
    "Ré-essayez",
    "Non",
    "Transaction",
    "Utilisez une",
    "Internationale",
    "Signez le recu",
    "Entrez votre",
    "Montant",
    "Signature",
    "Initialisation",
    "",
    "",
    "",
    "Trop d’essais",
    "Code Requis"
};

char * ctlsFR3_2[] = {
    "",
    "carte SVP",
    "",
    "connecté",
    "Retirez la carte",
    "",
    "",
    "",
    "autre carte",
    "",
    "seule carte",
    "",
    "votre carte",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "votre carte",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "la carte",
    "",
    "autorisé",
    "Terminée",
    "autre carte VISA",
    "Carte Seulement",
    "",
    "code",
    "hors ligne",
    "Requise",
    "Attendez SVP",
    "",
    "",
    "",
    "",
    ""
};

char * ctlsENFR3_1[] = {
    "Welcome",
    "Tap Or Swipe",
    "No Card",
    "Not Connected",
    "Remove the card",
    "Card Failure",
    "Purchase/Achat:",
    "Available:",
    "Swipe Card",
    "Try Again",
    "Present 1 Card",
    "Please Wait",
    "Remove Card",
    "Approved",
    "Declined",
    "",
    "",
    "AnotherInterface",
    "Use Other Card",
    "Time Out",
    "Cancel",
    "Processing",
    "See Mobile Phone",
    "Not Accepted",
    "Insert Card",
    "Refund",
    "STOP",
    "Purchase/Achat",
    "DONE",
    "Thank You",
    "Approved, Bal:",
    "Declined, Bal:",
    "Please Wait",
    "Cannot Process",
    "Balance/Solde:",
    "Amount/Montant:",
    "Processing",
    "Use Chip & PIN",
    "Please Try Again",
    "Not Authorized",
    "Transaction Done",
    "Use Other Card",
    "Card/Carte",
    "Sign Receipt",
    "PIN EntryRequire",
    "Offline Amount",
    "SignatureRequire",
    "Initializing",
    "",
    "",
    "",
    "Too Many Taps",
    "PIN Required"
};
char * ctlsENFR3_2[] = {
    "Bienvenue",
    "Présentez Carte",
    "Pas de carte",
    "Pas connecté",
    "Retirez la carte",
    "Échec Carte",
    "",
    "Disponible:",
    "Passez la carte",
    "Ré-essayez",
    "Présentez 1 Cart",
    "Attendez SVP",
    "Retirez  la Carte",
    "Approuvé",
    "Refusé",
    "",
    "",
    "Autre Interface",
    "",
    "Pause",
    "Annuler",
    "En Cours",
    "Voir téléphone",
    "Pas accepté",
    "Insérez la carte",
    "Remboursement",
    "Arrêtez",
    "",
    "Terminé",
    "Merci",
    "Approuvé, Solde:",
    "Refusé Solde:",
    "Attendez",
    "Ne Peut Procés",
    "",
    "",
    "En Cours",
    "Insérez la carte",
    "Ré-essayez",
    "Non autorisé",
    "Transaction Term",
    "Autre carte VISA",
    "International(e)",
    "Signez le recu",
    "Code exigé",
    "Mt hors ligne",
    "SignatureRequise",
    "Initialisation",
    "",
    "",
    "",
    "Trop d’essais",
    "Code Requis"
};


char * EN_S0_L1 [] = { // English, Scheme 0, Line 1
    "Welcome",
    "Please Tap Or",
    "No Card",
    "Processing",
    "Thank You",
    "Fail",
    "Amount:",
    "Balance:",
    "Use Chip",
    "Please",
    "Present One",
    "Please Wait",
    "Please",
    "Approved",
    "Not",
    "Declined",
    "Terminated",
    "Try Other",
    "Use Other Card",
    "Time Out",
    "Cancel",
    "Authorizing",
    "See Mobile Phone",
    "Not Accepted",
    "Insert Card",
    "Refund",
    "STOP",
    "Use Alternative",
    "DONE",
    "Present Card",
    "Approved, Bal:",
    "Declined, Bal:",
    "Please Wait",
    "Not",
    "Available:",
    "Card Read OK",
    "Present Card:",
    "Try Again",
    "Transaction",
    "Please Use",
    "International",
    "Please",
    "Please",
    "Offline Amount",
    "Signature",
    "Initializing",
    "",
    "",
    "",
    "",
    "",
    "Too Many Taps",
    "PIN Required"
};

char * EN_S0_L2 [] = { // English, Scheme 0, Line 2
    "",
    "Swipe Card",
    "",
    "",
    "",
    "",
    "",
    "",
    "& PIN",
    "Try Again",
    "Card Only",
    "",
    "Remove Card",
    "",
    "Authorized",
    "",
    "",
    "Interface",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "Payment Method",
    "",
    "",
    "",
    "",
    "",
    "",
    "Remove Card",
    "",
    "",
    "Completed",
    "Other VISA Card",
    "Card Only",
    "Sign Receipt",
    "Enter PIN",
    "",
    "Required",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    ""
};

char * FR_S0_L1 [] = { // French, Scheme 0, Line 1
    "Bienvenue",
    "Présentez",
    "Pas de carte",
    "En cours",
    "Merci",
    "Échec",
    "Montant:",
    "Solde:",
    "Insérez",
    "Ré-essayez",
    "Présentez une",
    "Attendez",
    "Retirez",
    "Approuvé",
    "Non",
    "Refusé",
    "Terminé",
    "Autre Interface",
    "Use Other Card",
    "Pause",
    "Annuler",
    "En Cours",
    "Voir téléphone",
    "Pas accepté",
    "Insérez la carte",
    "Remboursement",
    "Arrêtez",
    "Utilisez une ou",
    "Terminé",
    "Présentez",
    "Approuvé, Solde:",
    "Refusé Solde:",
    "Attendez SVP",
    "Pas",
    "Disponible:",
    "Lecture Carte OK",
    "Présentez carte:",
    "Ré-essayez",
    "Transaction",
    "Utilisez une",
    "Internationale",
    "Signez le recu",
    "Entrez votre",
    "Montant",
    "Signature",
    "Initialisation",
    "",
    "",
    "",
    "",
    "",
    "Trop d’essais",
    "Code Requis"
};

char * FR_S0_L2 [] = { // French, Scheme 0, Line 2
    "",
    "carte SVP",
    "",
    "",
    "",
    "",
    "",
    "",
    "la carte",
    "",
    "seule carte",
    "",
    "votre carte",
    "",
    "autorisé",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "autre carte",
    "",
    "votre carte",
    "",
    "",
    "",
    "connecté",
    "",
    "Retirez la carte",
    "",
    "",
    "Terminée",
    "autre carte VISA",
    "Carte Seulement",
    "",
    "code",
    "hors ligne",
    "Requise",
    "Attendez SVP",
    "",
    "",
    "",
    "",
    "",
    "",
    ""
};

char * ENFR_S0_L1 [] = { // English & French, Scheme 0, Line 1
    "Welcome",
    "Tap Or Swipe",
    "No Card",
    "Processing",
    "Thank You",
    "Card Failure",
    "Amount/Montant:",
    "Balance/Solde:",
    "Use Chip & PIN",
    "Please Try Again",
    "Present 1 Card",
    "Please Wait",
    "Remove Card",
    "Approved",
    "Not Authorized",
    "Declined",
    "Cannot Process",
    "AnotherInterface",
    "Use Other Card",
    "Time Out",
    "Cancel",
    "Processing",
    "See Mobile Phone",
    "Not Accepted",
    "Insert Card",
    "Refund",
    "STOP",
    "Swipe Card",
    "DONE",
    "Purchase/Achat",
    "Approved, Bal:",
    "Declined, Bal:",
    "Please Wait",
    "Not Connected",
    "Available:",
    "Remove the card",
    "Purchase/Achat:",
    "Try Again",
    "Transaction Done",
    "Use Other Card",
    "Card/Carte",
    "Sign Receipt",
    "PIN EntryRequire",
    "Offline Amount",
    "SignatureRequire",
    "Initializing",
    "",
    "",
    "",
    "",
    "",
    "Too Many Taps",
    "PIN Required"
};

char * ENFR_S0_L2 [] = { // English & French, Scheme 0, Line 2
    "Bienvenue",
    "Présentez Carte",
    "Pas de carte",
    "En Cours",
    "Merci",
    "Échec Carte",
    "",
    "",
    "Insérez la carte",
    "Ré-essayez",
    "Présentez 1 Cart",
    "Attendez",
    "Retirez  la Carte",
    "Approuvé",
    "Non autorisé",
    "Refusé",
    "Ne Peut Procés",
    "Autre Interface",
    "",
    "Pause",
    "Annuler",
    "En Cours",
    "Voir téléphone",
    "Pas accepté",
    "Insérez la carte",
    "Remboursement",
    "Arrêtez",
    "Passez la carte",
    "Terminé",
    "",
    "Approuvé, Solde:",
    "Refusé Solde:",
    "Attendez SVP",
    "Pas connecté",
    "Disponible:",
    "Retirez la carte",
    "",
    "Ré-essayez",
    "Transaction Term",
    "Autre carte VISA",
    "International(e)",
    "Signez le recu",
    "Code exigé",
    "Mt hors ligne",
    "SignatureRequise",
    "Initialisation",
    "",
    "",
    "",
    "",
    "",
    "Trop d’essais",
    "Code Requis"
};


char * EN_S2_L1 [] = { // English, Scheme 2, Line 1
    "Welcome",
    "Thank You",
    "Thank You",
    "Transaction",
    "Please Use",
    "Use Alternative",
    "Present One",
    "International",
    "Please",
    "International",
    "Please",
    "Please",
    "Please",
    "Offline Amount",
    "Please",
    "Signature",
    "",
    "Present Card",
    "Please",
    "Processing",
    "Declined",
    "Terminated",
    "See Mobile Phone",
    "Not Accepted",
    "Insert Card",
    "Refund",
    "STOP",
    "Présentez",
    "DONE",
    "Fail",
    "Approved, Bal:",
    "Declined, Bal:",
    "Please Wait",
    "Not",
    "Balance:",
    "Please Wait",
    "Card Read OK",
    "Approved",
    "Available:",
    "Amount:",
    "Present Card:",
    "No Card",
    "Use Chip",
    "Try Again",
    "Not",
    "Initializing",
    "Try Other",
    "Use Other Card",
    "Time Out",
    "Cancel",
    "Authorizing",
    "Too Many Taps",
    "PIN Required"
};

char * EN_S2_L2 [] = { // English, Scheme 2, Line 2
    "",
    "",
    "",
    "Completed",
    "Other VISA Card",
    "Payment Method",
    "Card Only",
    "Card Only",
    "Try Again",
    "Card Only",
    "Sign Receipt",
    "Sign Receipt",
    "Enter PIN",
    "",
    "Enter PIN",
    "Required",
    "",
    "",
    "Remove Card",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "carte SVP",
    "",
    "",
    "",
    "",
    "",
    "Connected",
    "",
    "",
    "Remove Card",
    "",
    "",
    "",
    "",
    "",
    "& PIN",
    "",
    "Authorized",
    "Please wait...",
    "Interface",
    "",
    "",
    "",
    "",
    "",
    ""
};

char * FR_S2_L1 [] = { // French, Scheme 2, Line 1
    "Bienvenue",
    "Merci",
    "Merci",
    "Transaction",
    "Utilisez une",
    "Utilisez une ou",
    "Présentez une",
    "Internationale",
    "Ré-essayez",
    "Internationale",
    "Signez le recu",
    "Signez le recu",
    "Entrez votre",
    "Montant",
    "Entrez votre",
    "Signature",
    "",
    "Présentez",
    "Retirez",
    "En cours",
    "Refusé",
    "Terminé",
    "Voir téléphone",
    "Pas accepté",
    "Insérez la carte",
    "Remboursement",
    "Arrêtez",
    "Tap Or Swipe",
    "Terminé",
    "Échec",
    "Approuvé, Solde:",
    "Refusé Solde:",
    "Attendez SVP",
    "Pas",
    "Solde:",
    "Attendez",
    "Lecture Carte OK",
    "Approuvé",
    "Disponible:",
    "Montant:",
    "Présentez carte:",
    "Pas de carte",
    "Utilisez",
    "Ré-essayez",
    "Non",
    "Initialisation",
    "Autre Interface",
    "Use Other Card",
    "Pause",
    "Annuler",
    "En Cours",
    "Trop d’essais",
    "Code Requis"
};

char * FR_S2_L2 [] = { // French, Scheme 2, Line 2
    "",
    "",
    "",
    "Terminée",
    "autre carte VISA",
    "autre carte",
    "seule carte",
    "Carte Seulement",
    "",
    "Carte Seulement",
    "",
    "",
    "code",
    "hors ligne",
    "code",
    "Requise",
    "",
    "votre carte",
    "votre carte",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "Présentez Carte",
    "",
    "",
    "",
    "",
    "",
    "connecté",
    "",
    "",
    "Retirez la carte",
    "",
    "",
    "",
    "",
    "",
    "la puce",
    "",
    "autorisé",
    "Attendez SVP",
    "",
    "",
    "",
    "",
    "",
    "",
    ""
};

char * ENFR_S2_L1 [] = { // English & French, Scheme 2, Line 1
    "Welcome",
    "Thank You",
    "Thank You",
    "Transaction Done",
    "Use Other Card",
    "Swipe Card",
    "Present 1 Card",
    "Card/Carte",
    "Please Try Again",
    "Card/Carte",
    "Sign Receipt",
    "Sign Receipt",
    "PIN EntryRequire",
    "Offline Amount",
    "PIN EntryRequire",
    "SignatureRequire",
    "",
    "Purchase/Achat",
    "Remove Card",
    "Processing",
    "Declined",
    "Cannot Process",
    "See Mobile Phone",
    "Not Accepted",
    "Insert Card",
    "Refund",
    "STOP",
    "Please Tap Or",
    "DONE",
    "Card Failure",
    "Approved, Bal:",
    "Declined, Bal:",
    "Please Wait",
    "Not Connected",
    "Balance/Solde:",
    "Please Wait",
    "Remove the card",
    "Approved",
    "Available:",
    "Amount/Montant:",
    "Purchase/Achat:",
    "No Card",
    "Use Chip & PIN",
    "Try Again",
    "Not Authorized",
    "Initializing",
    "AnotherInterface",
    "Use Other Card",
    "Time Out",
    "Cancel",
    "Processing",
    "Too Many Taps",
    "PIN Required"
};

char * ENFR_S2_L2 [] = { // English & French, Scheme 2, Line 2
    "Bienvenue",
    "Merci",
    "Merci",
    "Transaction Term",
    "Autre carte VISA",
    "Passez la carte",
    "Présentez 1 Cart",
    "International(e)",
    "Ré-essayez",
    "International(e)",
    "Signez le recu",
    "Signez le recu",
    "Code exigé",
    "Mt hors ligne",
    "Code exigé",
    "SignatureRequise",
    "",
    "",
    "Retirez  la Carte",
    "En Cours",
    "Refusé",
    "Ne Peut Procés",
    "Voir téléphone",
    "Pas accepté",
    "Insérez la carte",
    "Remboursement",
    "Arrêtez",
    "Swipe Card",
    "Terminé",
    "Échec Carte",
    "Approuvé, Solde:",
    "Refusé Solde:",
    "Attendez SVP",
    "Pas connecté",
    "",
    "Attendez",
    "Retirez la carte",
    "Approuvé",
    "Disponible:",
    "",
    "",
    "Pas de carte",
    "Utilizer la puce",
    "Ré-essayez",
    "Non autorisé",
    "Initialisation",
    "Autre Interface",
    "",
    "Pause",
    "Annuler",
    "En Cours",
    "Trop d’essais",
    "Code Requis"
};

char * EN_S3_L1 [] = { // English, Scheme 3, Line 1
    "Welcome",
    "Please Tap Or",
    "No Card",
    "Not",
    "Card Read OK",
    "Fail",
    "Present Card:",
    "Available:",
    "Use Alternative",
    "Try Again",
    "Present One",
    "Please Wait",
    "Please",
    "Approved",
    "Declined",
    "Payment Type Not Accept",
    "See Attendant",
    "Try Other",
    "Use Other Card",
    "Time Out",
    "Cancel",
    "Authorizing",
    "See Mobile Phone",
    "Not Accepted",
    "Insert Card",
    "Refund",
    "STOP",
    "Present Card",
    "DONE",
    "Thank You",
    "Approved, Bal:",
    "Declined, Bal:",
    "Please Wait",
    "Terminated",
    "Balance:",
    "Amount:",
    "Processing",
    "Use Chip",
    "Please",
    "Not",
    "Transaction",
    "Please Use",
    "International",
    "Please",
    "Please",
    "Offline Amount",
    "Signature",
    "Initializing",
    "Present and Hold",
    "Remove, Tap Again",
    "Approved, Please Sign",
    "Too Many Taps",
    "PIN Required"
};

char * EN_S3_L2 [] = { // English, Scheme 3, Line 2
    "",
    "Swipe Card",
    "",
    "Connected",
    "Remove Card",
    "",
    "",
    "",
    "Payment Method",
    "",
    "Card Only",
    "",
    "Remove Card",
    "",
    "",
    "",
    "",
    "Interface",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "& PIN",
    "Try Again",
    "Authorized",
    "Completed",
    "Other VISA Card",
    "Card Only",
    "Sign Receipt",
    "Enter PIN",
    "",
    "Required",
    "Please wait...",
    "",
    "",
    "",
    "",
    ""
};

char * FR_S3_L1 [] = { // French, Scheme 3, Line 1
    "Bienvenue",
    "Présentez",
    "Pas de carte",
    "Pas",
    "Lecture Carte OK",
    "Échec",
    "Présentez carte:",
    "Disponible:",
    "Utilisez une ou",
    "Ré-essayez",
    "Présentez une",
    "Attendez SVP",
    "Retirez",
    "Approuvé",
    "Refusé",
    "",
    "",
    "Autre Interface",
    "Use Other Card",
    "Pause",
    "Annuler",
    "En Cours",
    "Voir téléphone",
    "Pas accepté",
    "Insérez la carte",
    "Remboursement",
    "Arrêtez",
    "Présentez",
    "Terminé",
    "Merci",
    "pprouvé, Solde:",
    "Refusé Solde:",
    "Attendez",
    "Terminé",
    "Solde:",
    "Montant:",
    "En cours",
    "Insérez",
    "Ré-essayez",
    "Non",
    "Transaction",
    "Utilisez une",
    "Internationale",
    "Signez le recu",
    "Entrez votre",
    "Montant",
    "Signature",
    "Initialisation",
    "",
    "",
    "",
    "Trop d’essais",
    "Code Requis"
};

char * FR_S3_L2 [] = { // French, Scheme 3, Line 2
    "",
    "carte SVP",
    "",
    "connecté",
    "Retirez la carte",
    "",
    "",
    "",
    "autre carte",
    "",
    "seule carte",
    "",
    "votre carte",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "votre carte",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "",
    "la carte",
    "",
    "autorisé",
    "Terminée",
    "autre carte VISA",
    "Carte Seulement",
    "",
    "code",
    "hors ligne",
    "Requise",
    "Attendez SVP",
    "",
    "",
    "",
    "",
    ""
};

char * ENFR_S3_L1 [] = { // English & French, Scheme 3, Line 1
    "Welcome",
    "Tap Or Swipe",
    "No Card",
    "Not Connected",
    "Remove the card",
    "Card Failure",
    "Purchase/Achat:",
    "Available:",
    "Swipe Card",
    "Try Again",
    "Present 1 Card",
    "Please Wait",
    "Remove Card",
    "Approved",
    "Declined",
    "",
    "",
    "AnotherInterface",
    "Use Other Card",
    "Time Out",
    "Cancel",
    "Processing",
    "See Mobile Phone",
    "Not Accepted",
    "Insert Card",
    "Refund",
    "STOP",
    "Purchase/Achat",
    "DONE",
    "Thank You",
    "Approved, Bal:",
    "Declined, Bal:",
    "Please Wait",
    "Cannot Process",
    "Balance/Solde:",
    "Amount/Montant:",
    "Processing",
    "Use Chip & PIN",
    "Please Try Again",
    "Not Authorized",
    "Transaction Done",
    "Use Other Card",
    "Card/Carte",
    "Sign Receipt",
    "PIN EntryRequire",
    "Offline Amount",
    "SignatureRequire",
    "Initializing",
    "",
    "",
    "",
    "Too Many Taps",
    "PIN Required"
};

char * ENFR_S3_L2 [] = { // English & French, Scheme 3, Line 2
    "Bienvenue",
    "Présentez Carte",
    "Pas de carte",
    "Pas connecté",
    "Retirez la carte",
    "Échec Carte",
    "",
    "Disponible:",
    "Passez la carte",
    "Ré-essayez",
    "Présentez 1 Cart",
    "Attendez SVP",
    "Retirez  la Carte",
    "Approuvé",
    "Refusé",
    "",
    "",
    "Autre Interface",
    "",
    "Pause",
    "Annuler",
    "En Cours",
    "Voir téléphone",
    "Pas accepté",
    "Insérez la carte",
    "Remboursement",
    "Arrêtez",
    "",
    "Terminé",
    "Merci",
    "Approuvé, Solde:",
    "Refusé Solde:",
    "Attendez",
    "Ne Peut Procés",
    "",
    "",
    "En Cours",
    "Insérez la carte",
    "Ré-essayez",
    "Non autorisé",
    "Transaction Term",
    "Autre carte VISA",
    "International(e)",
    "Signez le recu",
    "Code exigé",
    "Mt hors ligne",
    "SignatureRequise",
    "Initialisation",
    "",
    "",
    "",
    "Trop d’essais",
    "Code Requis"
};


void
setLanguage(char * language)
{
    memset(terminalLanguage, 0, 5);
    memcpy(terminalLanguage, language, strlen(language));
}

char *
getDisplayMessageByID(int id)
{
    // english
    if (strcasecmp(terminalLanguage, "en") == 0)
        return languageEN[id];
    // french
    else if (strcasecmp(terminalLanguage, "fr") == 0)
        return languageFR[id];
    // spanish
    else if (strcasecmp(terminalLanguage, "sp") == 0 || strcasecmp(terminalLanguage, "es") == 0)
        return languageSP[id];
    // chinese
    else if (strcasecmp(terminalLanguage, "zh") == 0)
        return languageZH[id];
    // english-french
    else if (strcasecmp(terminalLanguage, "ef") == 0)
        return languageEF[id];
    // portuguese
    else if (strcasecmp(terminalLanguage, "pt") == 0)
        return languagePT[id];
    // turkish
    else if (strcasecmp(terminalLanguage, "tr") == 0)
        return languageTQ[id];
    else
        return languageEN[id];
}

char *
getLanguageCode(char * sLanguage)
{
    if (strcasecmp(sLanguage, "en") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return "ENGLISH";
    } else if (strcasecmp(sLanguage, "fr") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return "FRANCAIS";
    } else if (strcasecmp(sLanguage, "sp") == 0 || strcasecmp(sLanguage, "es") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return "ESPANOL";
    } else if (strcasecmp(sLanguage, "zh") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return "中文";
    } else if (strcasecmp(sLanguage, "ef") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return "ENGLISH-FRENCH";
    } else if (strcasecmp(sLanguage, "pt") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return "PORTUGUESE";
    } else if (strcasecmp(sLanguage, "tr") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return "TURKISH";
    } else if (strcasecmp(sLanguage, "ja") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return "JAPANESE";
    } else {
        return "(Unsupported)";
    }
} /* getLanguageCode */

char *
getDisplayMessage(char * language, int id)
{
    char * sLanguage = language;

    if (strcasecmp(sLanguage, "en") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return languageEN[id];
    } else if (strcasecmp(sLanguage, "fr") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return languageFR[id];
    } else if (strcasecmp(sLanguage, "sp") == 0 || strcasecmp(sLanguage, "es") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return languageSP[id];
    } else if (strcasecmp(sLanguage, "zh") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return languageZH[id];
    } else if (strcasecmp(sLanguage, "ef") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return languageEF[id];
    } else if (strcasecmp(sLanguage, "pt") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return languagePT[id];
    } else if (strcasecmp(sLanguage, "tr") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return languageTQ[id];
    } else if (strcasecmp(sLanguage, "ja") == 0) {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, sLanguage, strlen(sLanguage));
        return languageJP[id];
    } else {
        memset(terminalLanguage, 0, 5);
        memcpy(terminalLanguage, "en", strlen("en"));
        return languageEN[id];
    }
} /* getDisplayMessage */

void
retrieveCTLSMessage(BYTE scheme, int language, BYTE id, char * text[], int * lines)
{
    char * line1 = NULL;
    char * line2 = NULL;

    *lines = 0;
    if (id > 0x34) return;

    if (!(scheme == 0x00 || scheme == 0x02 || scheme == 0x03)) return;

    //	BYTE data[_DATA_BUF_LEN] = {0};
    //	int dataLen = _DATA_BUF_LEN;
    //	int language = 0;
    //	int r = ctls_retrieveTerminalData(data,&dataLen);
    //
    //	printf("=====================>r %d\n", r);
    //
    //	if (r == IDG_P2_STATUS_CODE_DO_SUCCESS && dataLen > 0)
    //	{
    //		char strData[_DATA_BUF_LEN*2] = {0};
    //		int strDataLen = _DATA_BUF_LEN*2;
    //		convertBytesToHexString(data, dataLen, strData, &strDataLen);
    //		printf("=====================>strData %s\n", strData);
    //		char *cp = strstr(strData, "FFFB01");
    //		if (cp != NULL)
    //		{
    //			cp += 7;
    //			if (*cp == '1')
    //				language = 1;
    //			else if (*cp == '2')
    //				language = 2;
    //			else if (*cp == '3')
    //				language = 3;
    //			else if (*cp == '4')
    //				language = 4;
    //			else if (*cp == '5')
    //				language = 5;
    //		}
    //	}

    if (scheme == 0x00) {
        if (language == 0x03) {
            line1 = FR_S0_L1[(int) id];
            line2 = FR_S0_L2[(int) id];
            //			return;
        } else if (language == 0x05) {
            line1 = ENFR_S0_L1[(int) id];
            line2 = ENFR_S0_L2[(int) id];
            //			return;
        } else {
            line1 = EN_S0_L1[(int) id];
            line2 = EN_S0_L2[(int) id];
            //			return;
        }
    }
    if (scheme == 0x02) {
        if (language == 0x03) {
            line1 = FR_S2_L1[(int) id];
            line2 = FR_S2_L2[(int) id];
            //			return;
        } else if (language == 0x05) {
            line1 = ENFR_S2_L1[(int) id];
            line2 = ENFR_S2_L2[(int) id];
            //			return;
        } else {
            line1 = EN_S2_L1[(int) id];
            line2 = EN_S2_L2[(int) id];
            //			return;
        }
    }
    if (scheme == 0x03) {
        if (language == 0x03) {
            line1 = FR_S3_L1[(int) id];
            line2 = FR_S3_L2[(int) id];
            //			return;
        } else if (language == 0x05) {
            line1 = ENFR_S3_L1[(int) id];
            line2 = ENFR_S3_L2[(int) id];
            //			return;
        } else {
            line1 = EN_S3_L1[(int) id];
            line2 = EN_S3_L2[(int) id];
            //			return;
        }
    }

    #if 0
    if (scheme == 0x00) {
        //		if (language == 0)
        //		{
        line1 = ctlsEN0_1[(int) id];
        line2 = ctlsEN0_2[(int) id];
        //			return;
        //		}
        //		else if (language == 1)
        //		{
        //			line1 = ctlsFR0_1[(int)id];
        //			line2 = ctlsFR0_2[(int)id];
        ////			return;
        //		}
        //		if (language == 2)
        //		{
        //			line1 = ctlsENFR0_1[(int)id];
        //			line2 = ctlsENFR0_2[(int)id];
        ////			return;
        //		}
    } else if (scheme == 0x02) {
        //		if (language == 0)
        //		{
        line1 = ctlsEN2_1[(int) id];
        line2 = ctlsEN2_2[(int) id];
        //			return;
        //		}
        //		else if (language == 1)
        //		{
        //			line1 = ctlsFR2_1[(int)id];
        //			line2 = ctlsFR2_2[(int)id];
        ////			return;
        //		}
        //		if (language == 2)
        //		{
        //			line1 = ctlsENFR2_1[(int)id];
        //			line2 = ctlsENFR2_2[(int)id];
        ////			return;
        //		}
    } else if (scheme == 0x03) {
        //		if (language == 0)
        //		{
        line1 = ctlsEN3_1[(int) id];
        line2 = ctlsEN3_2[(int) id];
        //			return;
        //		}
        //		else if (language == 1)
        //		{
        //			line1 = ctlsFR3_1[(int)id];
        //			line2 = ctlsFR3_2[(int)id];
        ////			return;
        //		}
        //		if (language == 2)
        //		{
        //			line1 = ctlsENFR3_1[(int)id];
        //			line2 = ctlsENFR3_2[(int)id];
        ////			return;
        //		}
    }
    #endif /* if 0 */

    if (line1 == NULL || line2 == NULL) {
        return;
    } else if (!strcmp(line2, "")) {
        //		printf("=========================>line 1 only\n");
        *lines = 1;
        //		strcpy(text[0], line1);
        text[0] = line1;
    } else {
        *lines = 2;
        //		strcpy(text[0], line1);
        //		strcpy(text[1], line2);
        text[0] = line1;
        text[1] = line2;
    }
} /* retrieveCTLSMessage */
