2

I see the option to set a contact's Preferred Language, and I have set up my test system with French and English. If I make French the default for the whole system, when I edit the demographics of a contact, the radio options are in French, but the displayed text after saving is in English.

When I send an email to a contact with French as the Preferred language, and use the token contact.gender, the token replacement is still in English.

Is there a way to have token replacements respect the preferred language for each contact, and use the translated value? Or am I stuck with English values because the system was installed in English?

1 Answer 1

1

This is not really an answer but a work around.

You can use smarty's to look for the English and replace it with the French (which I'm guessing at).

{if "{contact.gender}" eq "Female"}
    Femme
{elseif "{contact.gender}" eq 'Male'}
    Masculin
{/if}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.