Hi,
I'm working on a plugin that will be both in english and french, but the text in french is garbled. I'm using both velocity and soy templates.
Here is what I do in velocity:
<button id="blue-load-more-button">$i18n.getText('vendor.load_more')</button>
But here is the result : https://www.dropbox.com/s/z9mb8pys1dvgy83/Capture%20d%27%C3%A9cran%202014-05-08%2011.18.03.png
Same in Soy template :
<div><textarea class="textarea-reply" placeholder="{getText('vendor.reply.placeholder')}" id="{$status.id}" cols="130" wrap></textarea></div>
But here is the result :
https://www.dropbox.com/s/3k38gufma6glh56/Capture%20d%27%C3%A9cran%202014-05-08%2011.22.38.png
I tried to re-write my files with vim, forcing the encoding to utf-8 but the accents are still garbled.
Any idea ?
Thanks!
Community moderators have prevented the ability to post new answers.
Congratulations, you've just won't a couple of drinks if you ever come to Montréal!
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
While we are talking about this property file, is there a trick to store a single quote? Trying to have "J'aime" but it always ends up as "Jaime"...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In what history may say was a terrible decision, the escape character in Java's MessageFormat syntax is actually the single quote, so you'd need to do two single quotes to print a literal single quote, eg. "J''aime".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.