Selecting a Language
Overview
At this time, only the front-end templates can be translated. The administrative dashboard runs in english only.
The program comes with a number of language options. Many are built into themes, others may need to be customized.
Items covered by language include:
- HTML Templates
- E-Mail Templates
- Language and Error Codes
- Content Pages
Selecting Your Default Language
To select your default language:
- Go to "Integration > Administrative Tasks > Options".
- Find the "Language" field and select your desired language.
- Save your changes.
Creating Your Custom Language Templates
Once you have selected your default language, you will most likely need to create the corresponding language templates for your new language. You can do this by following these steps:
- Create a folder under "pp-templates/html/zoid" named "es" (or the correct corresponding two-letter language code, see table below under "Language Code").
- Copy all of the files from the "en" folder into that folder.
- Translate all those templates into the corresponding language.
Allowing Visitors to Switch Between Languages
If you are running your website in multiple languages, you can allow visitors to swap between language websites by adding the "lang" parameter to the end of the path to your Zenbership front-end. Note that you only have to do this once to save the user's selection. Example:
- View the English language website: http://www.yoursite.com/path/to/zenbership/?lang=en
- View the Spanish language website: http://www.yoursite.com/path/to/zenbership/?lang=es
Important Things to Remember
- The program will default to the language you select in the options unless the user specifically requests a different language (see "Allowing Visitors to Switch Between Languages" above)
- Not every HTML theme comes with language packs. Because of this, you will need to make sure that your selected language is supported by your themes or that you have created your custom translation for your theme (see "Creating Your Custom Language Templates" above).
Language Codes
Code | Language |
---|---|
ar | Arabic |
bn | Bengali |
zh | Chinese |
de | Deutsch (German) |
en | English |
es | Espanol (Spanish) |
fr | French |
hi | Hindi |
ja | Japanese |
pt | Portuguese |
pa | Punjabi |
ru | Russian |
Article Links
- Overview
- Selecting Your Default Language
- Creating Your Custom Language Templates
- Allowing Visitors to Switch Between Languages
- Important Things to Remember
- Language Codes
Related Articles
Article Tags
Details
Published on 2013/07/20.
Last updated on 2013/07/20.