Random Article


 
Don't Miss
 

LangQuery – PHP Multiple Language Class with Param

 
 
Overview
 

Author: enesnr
 
Date: Aug, 2012
 
Area: ,
 
Buyer Rating
 
 
 
 
 


 
$6.00


Summary

I’ve looked everywhere for language classes before writing this class but I realized there is no class doing everything i need as easy as in my head. So I started to write easiest and the best possible language class and I think this class will be number one language class. Features : Super Easy Super […]

0
Posted August 15, 2012 by admin

 
Features
 
 

I’ve looked everywhere for language classes before writing this class but I realized there is no class doing everything i need as easy as in my head.
So I started to write easiest and the best possible language class and I think this class will be number one language class.

Features :
Super Easy
Super Fast
One line code Setup
Auto Remember Language
Auto Detect Browser Language
Parameter Support
.ini Based Language Files
Integrated Change Language Feature
Returns String or In-line Echo Feature

Example Code

<?php
include(“LangQuery.php”);

$L=new LangQuery(); // All Setup is ONLY ONE LINE // Browser language detected and loaded if available
// Write Hello World echo($L('hello_world'));
// Write Hello World Easier - In-line Echo Feature // You don't have to write echo. Just add '>' $L('>hello_world');
// Use in Strings echo("Hello Universe. {$L('hello_world')} Hello Europe");
// Write my age with parameter $L(">my_age",25);
// Write my name and age with parameters $L(">my_name_age","Enes",25);

?>


0 Comments



Be the first to comment!


Leave a Response

(required)