Jump to content


connecition between a script a lang file ?

  • Please log in to reply
No replies to this topic

#1 ParK

  • New Members
  • Pip
  • Newbie
  • 5 posts
  • Locationistanbul/turkey

Posted 24 July 2006 - 09:18 AM

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]
// translation function
		function lang($key) {
			global $lang;
my lang file:

         'Kanka e-posta'=>'';
         'Blogumu Tavsiye Edin!'=>'';

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]

<input type="submit" name="Submit" value=" <?php echo dil or lang('Gönder/or Send');?>" /> 

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users