PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of ntf   GTranslate   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example to translate 'Welcome' to other languages
Class: GTranslate
Translate text using Google Translate
Author: By
Last change:
Date: 15 years ago
Size: 207 bytes


Class file image Download
include './GTranslate.php';
$translate = new GTranslate();
$translate->GetLanguageList() as $lang){
$lang .': '.$translate->Text('Welcome')->From('English')->To($lang).'<br/>';