internationalization - symfony translation for phrase with embedded link_to function -


how perform translation embedded link_to function in template using symfony 1.4?

example:

please click <php echo link_to('here', sfconfig::get('app_url') ?> additional info.

i this:

echo __("please click "%placeholder%", array("%placeholder%" => link_to(__("here"), sfconfig::get('app_url')))) 

Popular posts from this blog

node.js - How do I prevent MongoDB replica set from querying the primary? -

c# - Randomly pick a specific int from a 2D Array -

php - Angularjs http.delete is not working after deploying project on server -