Language & Text

Character Set (Charset)
The charset for Maian Cart is generally utf-8. If you need to change it do so in the following file:

content/language/english/global.php
Language
Apart from the e-mail templates, ALL language is found in the language files:

content/language/english/*.php

Use a good text editor to edit. Notepad should be fine. BEFORE editing any of the language files read the notes in the following file:

content/language/readme.md
E-Mail Template Language
All the language in the e-mails is in the e-mail template txt files:

content/language/english/email-templates/*.txt

By default emails are sent in plain text and HTML formatted emails. To edit the HTML wrapper, edit the following file:

content/language/english/email-templates/html-wrapper.html
E-Mail Template HTML Tags
You can create custom HTML tags if you want to. These are ignored for the plain text version, but will be parsed in the HTML version. You should add rules and classes to make this function. Here is how this works:

1 Add parsing tags to the 'control/html-mail-tags.php' file. [B] and [I] (bold and italic) are available already so you can see how it works.

2 Add corresponding classes to the 'content/language/english/email-templates/html-wrapper.html' HTML wrapper file.

3 Add tags to the email template files (content/language/*/email-templates/). See the [B] tags in some files as an example.

That`s all. You can add as many as you need.
Language Translations
If you don`t want to remove or edit the existing language files, but need to translate the files into another language, makes a copy of the following folder and rename:

content/language/english/

Then in the settings, update the language to point to the new folder you have created.
Multi Language Cart
Its possible for you to have a multi language option in your cart. At the moment product data is not multi lingual, but this will be added in a future version. However, you can load all existing language files / email templates as another language. To do this, do the following:

[1] = Make copy of 'content/language/english' folder and rename to new language. Example: german. Then translate all files.

[2] = Add language to languages array in the control/languages.php file. See notes.

You don`t need to include the default language, which always displays.
Language Packs
Available language packs can be found on the Maian Cart website. If you would like to send me a language pack, please email me here.