Welcome Guest, Not a member yet? Register   Sign In
Include anchors on $lang['key'] text
#1

[eluser]JuanG[/eluser]
Hi, I just added language localization to my web and everything is working as expected.

There's just one thing I haven't been able to figure out.

Before adding internationalization to my web I had the following string:

Code:
"...is called <strong>&lt;?php echo anchor('www.cnn.com', 'CNN'); ?&gt;;</strong>.  It's a news..."

Now it won't work when included into:

Code:
$lang['home_dilemma_intro'] = "...is called <strong>&lt;?php echo anchor('www.cnn.com', 'CNN'); ?&gt;;</strong>.  It's a news...";

I looked at some examples where you can use variables with "%s" but this case is a bit different.

Any ideas?

Thanks in advanced,
#2

[eluser]ludo31[/eluser]
anchor(uri segments, text, attributes)
may be in attributes




Theme © iAndrew 2016 - Forum software by © MyBB