Login   Register  
PHP Classes
elePHPant
Icontem

File: basic_example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of frizzo28  >  PHP Locale Language Strings  >  basic_example.php  >  Download  
File: basic_example.php
Role: Example script
Content type: text/plain
Description: Simple example
Class: PHP Locale Language Strings
Get locale strings for multi-language sites
Author: By
Last change:
Date: 1 year ago
Size: 225 bytes
 

Contents

Class file image Download
<?php
include ("language.php");

//Initialize the class
$lang=new language();

//Show the link to change language
$lang->show_language_select();

//Transform code in translation
$lang->writeText('HELLO_TEXT');
?>