Change Language
Back to How To's (HOW TO)
Question
How to change the language of my site
Answer
PHPmotion has been designed to make it as easy as possible to change the overall language of your site. There are a few easy steps to follow which are all shown below
The language file
All the language that is used in PHPmotion is contained in what we call language files. These are php files which can easily be edited using a plain text editor like
notepad. By default, PHPmotion comes with only the English language file.
language files are found in your FTP in the folder
/lang
There are 2 ways to get the language you want for your site
- Look in our Forum to see if any members may already have created some translation files for your particular language.
- Translating the default English file yourself into your own language.
Creating your own language file
- Download a copy of the default English file from your FTP /lang/english.php
- Save this file in small letters (not caps): Example french.php, german.php (this will be your own language)
- Now edit your new copy using notepad and translate all the english words. Change only the words in the 'single quotation' marks
Uploading and Setting the new language
Once you have edited your own copy (or have downloaded one from the forum) you must now upload it via FTP into the
/lang folder
When you have finished, login to your
Siteadmin control panel and select
Themes from the top menu. You will see an option for language, simply select your new language and click save