Special characters

Author Message

David Santiso

Monday 24 January 2011 12:29:40 pm

Hi,

With the instalation of eZ Publish I've selected another lenguage pack that it's not the same than the other one that's by default, (mine's spanish).

With the template of content "Feedback form" there's a submit button. The button value is:

value="{"Send form"|i18n("design/ezwebin/full/feedback_form")}"

This translates automaticly: "Send form" to "Enviar formulario".

If I want to put something diferent, how do I do it? If I put the value directly, doesn't show accents or special characters on the front.

Thanks,

David

Franck Magnan

Monday 24 January 2011 12:51:06 pm

Hello David,

if you want to modify spanish translation for "Send form", you must find the spanish translation file. This file is commonly located in share/translations/<your_language_code>/translation.ts.

In this file, you will find an entry like this :

<context>
    <name>design/ezwebin/full/feedback_form</name>
    <message>
        <source>Send form</source>
        <translation>Valider le formulaire</translation>
    </message>
</context>

You can update translation with special characters as you want!
If you don't find such an entry, just add it at the end of the file.

--
Developer at Open Wide

David Santiso

Monday 24 January 2011 1:22:03 pm

Thanks,

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.