Language & Text

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

content/language/english/global.php
Lang Direction
If your language requires rtl instead of ltr, edit the option in the following:

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.txt
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.
Language Packs
Available language packs can be found on the Maian Affiliate website. If you would like to send me a language pack, please email us here.