ParK Posted July 24, 2006 Share Posted July 24, 2006 i wrote simple e-mail php script and want to improve it and myself..i decided to add 'lang' property ...i added a line :[in teller.php][code] // translation function function lang($key) { global $lang;[/code]my lang file:[code]$dil=array{ #yazılar 'İsim'=>''; 'E-postan'=>''; 'Kanka e-posta'=>''; 'Blogumu Tavsiye Edin!'=>''; #Butonlar 'Gönder'=>''; 'Temizle'=>''; ); ?>[/code]and im getting errors i know script files have not known my lang file yet , how can i do it ?thank you :)also: a look:[in teller.php][code]<input type="submit" name="Submit" value=" <?php echo dil or lang('Gönder/or Send');?>" /> [/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.