eZ Community » Forums » Translation » French » Problem with à or à in translation
expandshrink

Problem with à or à in translation

Problem with à or à in translation

Tuesday 12 June 2012 6:24:54 pm - 3 replies

Bonjour

I try to add a word in my translation

<context>
    <name>design/standard/node</name>
    <message>
        <source>Return to</source>
        <translation>Retourner à </translation>
    </message>
</context>

When i put it without à or with à , it doesnt work , but "Retourner a" without accent works ,

I would like to know if there is someone who has ever the same problem?

Thanks in advence.

Wednesday 13 June 2012 9:07:48 am

à should work - it's already all over the french translation file...

Are you using linguist to enter the translations or something else?

You can always try and use htmlentities, I've done that before.

Edit: changed ezlupdate to linguist - d'oh.

Modified on Wednesday 13 June 2012 9:31:26 am by Steven E Bailey

Wednesday 13 June 2012 11:26:23 am

Hi Steven 

Thank you very much for ur answer,

in fact this is very odd to me!!

in my translation.ts file , when i write

 

    <message>
        <source>Return to</source>
        <translation>Retourner Ã</translation>
    </message>

it doesnt work and the result is "Return to",

when i try any other accent it works!!!!!!

like, just to see the result i tried é i tried ê  i tried everything and all of them works except Ã

Very very Bizarre!!!

Wednesday 13 June 2012 11:43:54 am

OK!

i copied

    <message>
        <source>Return to</source>
        <translation>Retourner Ã</translation>
    </message>

 

in the part:   design/ezwebin/content/history

 

       <li><a href={$node.parent.url_alias|ezurl}>{"Return to"|i18n('design/ezwebin/content/history')}{$node.parent.name}</a></li>

 

just because i had seen a "Return to History" in that context!

and it worked!

I really don't understand why it happened? But happy to have the result!

expandshrink

You must be logged in to post messages in this topic!

Proudly Developed with from