Admin - Localization - Languages

From Zen Cart(tm) Wiki
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
  
 
==Description==
 
==Description==
:Allows you to add additional language(s) in order to internationalize the output generated by Zen Cart.   
+
:Allows you to add additional language(s) in order to internationalize the output generated by Zen Cart™.   
 +
 
  
 
==New Language==
 
==New Language==
To add a new language, click on the '''new language''' button. A form will appear. Enter the information, then click on the '''insert''' button to add the new language. Click on the '''cancel''' button if you change your mind.
+
To add a new language, click on the '''new language''' button. A form will appear. Enter the information, then click on the '''insert''' button to add the new language. Click on the '''cancel''' button if you change your mind.
 +
 
  
 
===Name===
 
===Name===
 
This is the name of the language, probably best as expressed ''in itself'', e.g. Francais for French, Español for Spanish, Deutsch for German, etc.
 
This is the name of the language, probably best as expressed ''in itself'', e.g. Francais for French, Español for Spanish, Deutsch for German, etc.
 +
  
 
===Code===
 
===Code===
This is the two-letter ISO 639 two-letter language code, e.g. en for English, fr for Francais, es for Español, etc. If you don't know the code, you can find it on Wikipedia® [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes here].
+
This is the two-letter ISO 639 two-letter language code, e.g. en for English, fr for Francais, es for Español, etc. If you don't know the code, you can find it on Wikipedia® [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes here].
 +
 
 +
 
 
===Image===
 
===Image===
This would be a small icon used to identify the language. This would most likely be a gif image of the typical flag for some country commonly associated with that language.
+
This would be a small icon used to identify the language. This would most likely be a gif image of the typical flag for some country commonly associated with that language.
 +
 
 +
 
 
===Directory===
 
===Directory===
This directory is where the translated php source files for this language are contained. For example, if example.com is running ZenCart and its files are located in the Zencart directory, then the directory for English is located at http://www.example.com/zencart/includes/languages/english. The value for other languages would be changed to the appropriate value.
+
This directory is where the translated php source files for this language are contained. For example, if example.com is running Zen Cart™ and its files are located in the Zen Cart™ directory, then the directory for English is located at http://www.example.com/zencart/includes/languages/english. The value for other languages would be changed to the appropriate value.
 +
 
 +
 
 
===Sort order===
 
===Sort order===
This is the order that the languages are to appear in. Lower numbers are shown higher on the screen.
+
This is the order that the languages are to appear in. Lower numbers are shown higher on the screen.
 +
 
 +
 
 
===Set as default===
 
===Set as default===
 
Check this box if this is the default language for this site.
 
Check this box if this is the default language for this site.
  
When you finish entering data, click on the '''insert''' button to add the new language. Click on the '''cancel''' button to discard this form.
+
 
 +
When you finish entering data, click on the '''insert''' button to add the new language. Click on the '''cancel''' button to discard this form.
 +
 
 +
 
 
==Edit Language==
 
==Edit Language==
If you need to change the information about an existing language, click on the named language so that the right arrow appears in the Action column, then click on the '''edit''' button. The fields on the screen are the same for adding a language. When finished editing, click on the '''update''' button to save the changes, or click on '''cancel''' to discard them.
+
If you need to change the information about an existing language, click on the named language so that the right arrow appears in the Action column, then click on the '''edit''' button. The fields on the screen are the same for adding a language. When finished editing, click on the '''update''' button to save the changes, or click on '''cancel''' to discard them.
 +
 
 +
 
 
==Delete Language==
 
==Delete Language==
To remove a language, click on the named language so that the right arrow appears in the Action column, then click on the '''Delete''' button. If this is not the default language, you will be asked to confirm. Click on the '''delete''' button again to delete the language, or '''cancel''' if you do not wish to delete this language. If this is the default language, ''only'' the '''cancel''' button will appear, as you cannot delete the default language.
+
To remove a language, click on the named language so that the right arrow appears in the Action column, then click on the '''Delete''' button. If this is not the default language, you will be asked to confirm. Click on the '''delete''' button again to delete the language, or '''cancel''' if you do not wish to delete this language. If this is the default language, ''only'' the '''cancel''' button will appear, as you cannot delete the default language.

Revision as of 13:26, 30 July 2006

Menu: Admin - Localization - Languages
Admin - Localization Menu Items: Currencies · Languages · Orders Status

Contents

Description

Allows you to add additional language(s) in order to internationalize the output generated by Zen Cart™.


New Language

To add a new language, click on the new language button. A form will appear. Enter the information, then click on the insert button to add the new language. Click on the cancel button if you change your mind.


Name

This is the name of the language, probably best as expressed in itself, e.g. Francais for French, Español for Spanish, Deutsch for German, etc.


Code

This is the two-letter ISO 639 two-letter language code, e.g. en for English, fr for Francais, es for Español, etc. If you don't know the code, you can find it on Wikipedia® here.


Image

This would be a small icon used to identify the language. This would most likely be a gif image of the typical flag for some country commonly associated with that language.


Directory

This directory is where the translated php source files for this language are contained. For example, if example.com is running Zen Cart™ and its files are located in the Zen Cart™ directory, then the directory for English is located at http://www.example.com/zencart/includes/languages/english. The value for other languages would be changed to the appropriate value.


Sort order

This is the order that the languages are to appear in. Lower numbers are shown higher on the screen.


Set as default

Check this box if this is the default language for this site.


When you finish entering data, click on the insert button to add the new language. Click on the cancel button to discard this form.


Edit Language

If you need to change the information about an existing language, click on the named language so that the right arrow appears in the Action column, then click on the edit button. The fields on the screen are the same for adding a language. When finished editing, click on the update button to save the changes, or click on cancel to discard them.


Delete Language

To remove a language, click on the named language so that the right arrow appears in the Action column, then click on the Delete button. If this is not the default language, you will be asked to confirm. Click on the delete button again to delete the language, or cancel if you do not wish to delete this language. If this is the default language, only the cancel button will appear, as you cannot delete the default language.

Personal tools