Customizing the Look and Feel > 

Managing Languages

Top  Previous  Next  

If you wish to use your X-Cart-based store to do business in a multicultural market, you will probably find useful X-Cart's ability to support multiple languages.

When your store has more than one languages installed and enabled, a Language selector is provided at the top of each page in each X-Cart area. This selector is a simple drop-down box which may be labeled, depending on the area in which it appears, 'Language' or 'Current language':

Contained in the Language selector drop-down box is a list of all languages currently enabled at the store. Store users use the Language selector to change the language of text in the interface they are using: as soon as the selector is switched to a different language, the language of the current interface changes to the selected language.

Note: A language change induced by switching the selector to a different language affects only one X-Cart area and only within the user session in which the selector was switched.

Language selectors similar to the Language selector located at the top of the page are also provided in some dialog boxes in the store's administration back end. The functionality of such selectors is identical to the functionality of the Language selector located at the top of the page - they switch the language of the entire X-Cart area to the selected language.

Initially, X-Cart has only one language installed - English; however, you can add more languages, so your store's users can choose, in which language they wish to view the store pages and read email notifications. You may keep simultaneously installed as many languages as necessary.

You can add a new language to your store using any of the following methods:

1.By creating a copy of an existing language and translating it into the desired language (For instructions, read the chapter Creating Languages)
2.By importing a ready-made language pack (a language file in CSV format) into your store (For instructions, read the chapter Importing Languages).

You export languages from your store to CSV format (See the chapter Exporting Languages).

In a store that supports more than one language, you need to define, what language(s) should be used by default for the storefront and for the back end (For details, see the chapter Setting Your Store's Default Languages).

Of course, you can disable and delete languages (See the chapters Disabling languages and Deleting Languages).