Language Specific Files and Folders There are three areas that have language specific files. Each language is identified by a 2 character abbreviation, which is used for language subdirectory name, for image file names, and in receipt.html file names. For instance; en for English, sv for Swedish, etc.
1. Text that retail customers see on pages is kept in editable language files, which are kept in a subdirectory of the language directory. Each language has its own subdirectory named with the 2 character abbreviation and in each language subdirectory there is a complete set of inc files, which are named to correspond to the script that uses each one. The text in the language files is defined as constants, which are then selected and used by the program files based upon the language preference for each customer.
2. There is a complete set of Images for each language, which are all kept in the images directory. The language for button images that have text is identified by the 2 character suffix. For instance, buy-en.gif is the name of a buy button image that is used for English language.
3. There is a receipt.html file in the admin directory for each language. The receipt templates need to have sections divided by <!-- AShopdivider --> and there are several tokens that need to be included to show all the information in the receipt. Examples are in the sample receipt templates that are included with the program files. If there isn't a receipt template for the language that the customer has selected, the default one named receipt.html, which is distributed with English, will be used. To change to a different default language for the receipt copy the language specific template to receipt.html. To make all receipts use the same language you would simply remove all the language specific templates and keep only receipt.html.