Is it possible to use a language variable within a description

Defined in one place and then used in multiple descriptions

You could add a ‘replace’ modifier to the smarty code where the description is output.



Example:



In ‘/skins/CLIENT_SKIN/customer/products_pages/product_details.tpl’



REPLACE



{$product.full_description|default:$product.short_description}




WITH



{$product.full_description|default:$product.short_description[COLOR=black]|replace:'[variable_name]':$lang.variable_name[/COLOR][COLOR=red]|replace:'[variable_name2]':$lang.variable_name2[/COLOR]}

I’ve tried this for 2.0.10 with no success, anyone else successful?