Show TOC

Procedure documentationCreate Translation Export Files for SAP POS

 

This procedure describes how to extract, convert, and use the literal file (literal.lit) from the POS application for translation using the MKASCII.EXE utility. It also describes how to use the MKLIT.EXE utility to apply translated files back into the application.

Procedure

To create a literal file for submission to translation:

  1. Obtain a copy of the POS literal text file (litdef.txt). This is found in the \Program Files\SAP\Retail Systems\Utilities directory.

  2. Copy the existing literal.lit file to the utilities directory (\Program Files\SAP\Retail Systems\Utilities). The literal.lit is part of the demo parameters.

  3. From a command line, run the mkascii.exe utility to generate an ASCII file for translation as shown in the following example. This converts the binary literal file into ASCII format.

    Example Example

    Cd \Program Files\SAP\Retail Systems\Utilities Mkascii literal.lit litdef.h litdef.txt litnew.txt

    End of the example.

    This process creates a text file called litnew.txt containing all the literals used in the SAP POS applications. The file name is optional; you can use any file name. For more information, see About mkascii.exe.

  4. Submit litnew.txt for translation.

To apply the translated literal file back into the system:

  1. When the translated litnew.txt is returned, run the mklit.exe utility to build a new literal file (litnew.lit) and convert the ASCII format back into binary format. You can do this by running the following command:

    Cd \Program Files\SAP\Retail Systems\Utilities Mklit litnew.txt litdef.h litnew.lit

  2. After the files are converted, copy them to the store Xpress server directories and rename them as required. Copy the literal file for the store language to the base parm directory.

    Caution Caution

    This literal file must be called literal.lit.

    End of the caution.
  3. Place literal files for any additional alternate languages in their corresponding language directory according to definitions set up in the Xpress Languages Maintenance screen in the Configurator application.

    Example Example

    \parm\FRENCH\FRENCH.LIT

    \parm\SPANISH\SPANISH.LIT

    \parm\GERMAN\GERMAN.LIT

    End of the example.

    Note Note

    The default language set for SAP POS is English but if this is not the main language of the store, you must ensure that the main language literal file is copied to the base parm directory (and renamed LITERAL.LIT) and that the English file (default LITERAL.LIT) is renamed ENGLISH.LIT and copied to the \parm\ENGLISH directory.

    End of the note.

    Note Note

    The master.lit file in c:\Program Files\SAP\Retail Systems\Store Configurator is a copy of the English literal.lit.

    End of the note.