Welcome Guest, Not a member yet? Register   Sign In
Using variables in Language files
#1

[eluser]Philo01[/eluser]
Hi there!

I was wondering if it's possible to display variables in the language files.
For example:

Code:
<?php

$lang['unread_messages'] = "You have ".$this->my_model->unread_messages()." unread messages";

?>

Can anyone point me in the right direction? Smile
Would appreciate it!

Kind regards,

Philo


Messages In This Thread
Using variables in Language files - by El Forum - 02-13-2010, 06:19 PM
Using variables in Language files - by El Forum - 02-14-2010, 01:10 AM
Using variables in Language files - by El Forum - 05-02-2010, 01:31 PM
Using variables in Language files - by El Forum - 05-12-2010, 05:16 PM
Using variables in Language files - by El Forum - 06-11-2010, 06:12 AM
Using variables in Language files - by El Forum - 06-23-2010, 08:08 AM
Using variables in Language files - by El Forum - 03-01-2011, 08:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB