Welcome Guest, Not a member yet? Register   Sign In
Language Class problem
#1

[eluser]dimis[/eluser]
I have a multilanguage site and I make use of Language Class.
So I have a subview and I have to write some $lang[] variables.
So ia have this code.
Code:
<strong>
    &lt;?php echo $this->lang->line('bascet_name');   ?&gt;
</strong>
<br />
&lt;?php //  echo $carttotal."<br>";
if ($cartitems==0) {   echo $this->lang->line('bascet_empty');  }
else {
echo "$cartitems ".$this->lang->line('bascet_pr').", ".$carttotal."€";
}
?&gt;<br />
&lt;?php echo anchor("glasses/cardShow",$this->lang->line('bascet_view')); ?&gt;
My problem is that The lang variables are not there!I use the some code also at other subviews and all is ok.
I have done a my_controller and this view appears at my_controller contructor but also I have there the footer view with some other lang variables but there all is ok.
What is wrong?
#2

[eluser]dimis[/eluser]
Ok , I solved it.
#3

[eluser]sojic[/eluser]
How?

I'm developing multilanguage site and have problems with languages.




Theme © iAndrew 2016 - Forum software by © MyBB