PHP Classes

File: TestLocalization.php

Recommend this page to a friend!
  Classes of Bhavin Choksi   Internationalization   TestLocalization.php   Download  
File: TestLocalization.php
Role: ???
Content type: text/plain
Description: Run This php file to see result.
Class: Internationalization
Handy way of implementing Localization.
Author: By
Last change:
Date: 21 years ago
Size: 423 bytes
 

Contents

Class file image Download
<?include "Localization.php"?> <html> <head> </head> <body> This is in American English <br> <br> <font color="red"><b> <? $locEn=new Localization("en","US"); print($locEn->Translate("helloworld")); ?> </b></font> <hr> This is in Canadian French <br> <br> <font color="darkgreen"><b> <? $locFr=new Localization("fr","CA"); print($locFr->Translate("helloworld")); ?> </b> </font> </body> </html>