Jump to content

Accents problem into the VAR translation


Recommended Posts

Hello, I wanted to change the display text  product availability in product.tpl, why I replaced the original code with these lines:


var availableLaterValue = '{l s='On Backorder Availability'}';

whose translation is equivalent to : En précommande


aavailable_date['date_formatted'] = '{l s='Pre-order until'} {dateFormat date=$product->available_date full=false})';

whose translation is equivalent to : En pré-commande (prévue le 01/08/2014)

My problem is that for these translations used in variables, the use of accents bug. For example, for the second line of code the result on my site is :


En pré-commande (prévue le 01/08/2014)

How to modify the code for well translate the accents please?
Thank you in advance for your help

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...