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

[eluser]suntrop[/eluser]
I've got a multi-lang website and using the language class. But how do put variables in the translated sentences?

For example:
I want "You need 25 extra points.".

Is there something possible like ...
$lang['ui_messages'] = "You need $num extra points.";


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