Language Files
All preset text in the software is stored in 2 files.
/includes/language/front_language.ini
/includes/language/back_language.ini
The front_language.ini file contains all of the preset text for the public area of the website, while back_language.ini contains all of the text for the control panel.
These files can be edited in any text editor. Here is an example: Say you wanted to change "Popular Articles" to "Top Stories". You need to edit the public area file, so open up front_language.ini and search for Popular Articles. You will find a line like:
hpPopularArticles = "Popular Articles"
In order to change it, you only need to edit the text within the quotes. So we might change it to: (Note: we leave the text before the = intact)
hpPopularArticles = "Top Stories"
If you need to put a quotation mark inside the text, you can't use a normal ", but instead can use the html equivalant: "
For Example:
hpPopularArticles = "Top "Rated" Stories"
...would display:
Top "Rated" Stories
Editing Emails
The text used for emails are seperate from the language files. If you are translating or changing the product, you may also want to change these as well. All of the emails that this application sends out (Such as "send to a friend", new article notices etc.) are located at /admin/templates/. The filenames each start with "email.". The emails that are sent to the Site Administrator are sent to the 'Admin Email' address on the 'Site Settings' tab of the Settings page in the control panel. To edit the files, open them up in a standard text editor (such as notepad).
- email.approved.tpl
This is the email sent to an author once the author account they signed up for has been approved. - email.articleapproved.tpl
This is the email sent to an author once their article has been approved. - email.articlecomment.tpl
This is the email sent to an author when a comment is posted on one of their articles. - email.articledisapproved.tpl
This is the email sent to an author if their article has been disapproved. - email.blogcomment.tpl
This is the email sent to an author when a comment is posted on one of their blog posts. - email.disapproved.tpl
This is the email sent to an author once the author account they signed up for has been disapproved. - email.forgotpass.tpl
This is the email sent out when someone requests to reset their password because they couldn't remember it. - email.friend.tpl
This is the email used when someone submits an 'Email Article to Friend' on the website. - email.newarticle.tpl
This is the email sent to the Site Administrator about a new article that has been submitted. - email.newauthor.tpl
This is the email sent to the Site Administrator about a new author that has registered. - email.newblog.tpl
This is the email sent to the Site Administrator about a new blog post that has been submitted. - email.welcome.tpl
This is the email sent to an author once after they have registered on the website.
Edit the admin/includes/whitelabel.php file to remove all references to "Interspire" and "Interspire Website Publisher" from the control panel.
