PHPmotion Wiki : HelpChangeLanguage

HomePage :: Contents :: PageIndex :: Login/Register

Change Language


Featured PHPmotion Sponsor: Cirtex- Unlimited PHPmotion Web Hosting $2.95/month [50% discount with coupon code "phpmotion"]


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

  1. Look in our Forum to see if any members may already have created some translation files for your particular language.
  2. Translating the default English file yourself into your own language.


Creating your own language file

  1. Download a copy of the default English file from your FTP /lang/english.php
  2. Save this file in small letters (not caps): Example french.php, german.php (this will be your own language)
  3. 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








Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0336 seconds