PHP Classes
elePHPant
Icontem

File: basic_example.php

Recommend this page to a friend!
  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: 3 years 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');
?>