PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Sandeep Kumar  >  PHP Website Multi Language  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example File
Class: PHP Website Multi Language
Translate application texts using Google Translate
Author: By
Last change:
Date: 12 years ago
Size: 592 bytes


Class file image Download
(0); // sometime we need this when array is too long.
$language=new LangConvertor();
$language->from='en'; //english (there should be words in english in en.php)
$language->to='it'; //italian. (you will find a new file named by it.time().php in ur root folder)
$language->content=$lang; // $lang is array of english words ex: array('home'=>'Homp','aboutus'=>'About Us') etc
'Files has been created succesfully. please check your root folder';

For more information send a message to info at phpclasses dot org.