Welcome Guest, Not a member yet? Register   Sign In
How can I insert variables into translated sentences?
#3

[eluser]JuanG[/eluser]
Hi, I was asking myself the same question but regarding to anchors.

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..."

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...";

How can I keep my anchors when translating the text?

Thanks in advanced,


Messages In This Thread
How can I insert variables into translated sentences? - by El Forum - 06-26-2011, 02:43 AM
How can I insert variables into translated sentences? - by El Forum - 06-26-2011, 04:08 AM
How can I insert variables into translated sentences? - by El Forum - 02-24-2012, 10:00 PM
How can I insert variables into translated sentences? - by El Forum - 03-08-2012, 03:08 PM
How can I insert variables into translated sentences? - by El Forum - 03-09-2012, 12:54 PM
How can I insert variables into translated sentences? - by El Forum - 03-09-2012, 03:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB