View Full Version : viewing content in different languages using php

03-28-2007, 11:30 AM
hi ,im new to php,i created one web page ,i want to make this page viewed by different language in there respective languages choosen,please help me i can do this query to my web page..........if else please help me.........

Thanking you.

03-28-2007, 12:17 PM
Store the chosen language in a session
Store large texts in a database
Store small texts(like button captions and formfields) in a languagefile (see expample

# example language file
# locale.english.php (or something :p)

$language['submit'] = 'Submit!';
$language['go_back'] = 'Click to go back!';