Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Martin Grund  >  M2 Translator  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example File
Class: M2 Translator
Retrieve texts for internationalized applications
Author: By
Last change:
Date: 2005-08-12 05:56
Size: 222 bytes
 

Contents

Class file image Download
<?php

require("M2Translator.class.php");

$i18n = new M2Translator("lang/""en");

echo 
$i18n->get("test_string");

$subsection $i18n->getSection("section");
echo 
$subsection->get("subsection_test");


?>