17 Oct
2012
17 Oct
'12
12:28 p.m.
Thinking of it, the best solution is to use ' instead of a quote : translate "Today" into "Aujourd'hui". It is good for both HTML and Javascript.
Have you tried? Does it work? It also could be done automatically when installing translation files: translate install fr-FR Translated string could be modified on the fly, when translating JavaScript string. It would avoid asking translators to encode '