i18n translation problem, once more!

Author Message

Pierre SCALFATI

Tuesday 02 June 2009 2:16:38 am

Hi everybody,

I've once more a problem with translation on my French / English web site. It had worked a few weeks ago but now, once more no i18n translation becomes possible.
First, I'd like to say that I have a /extension/ezwebin/settings/siteaccess folder in wich I have "fre" folder for french site and "eng" folder in which I have my english site.

The site.ini;append.php content for the "fre" (french site) folder is as follows :

 [RegionalSettings]
Locale=fre-FR
HTTPLocale=fre-FR
ContentObjectLocale=fre-FR
ShowUntranslatedObjects=disabled
SiteLanguageList[]=fre-FR
TextTranslation=enabled

[ContentSettings]
TranslationList=eng-GB;fre-FR

The site.ini;append.php content for the "eng" (english site) folder is as follows :

[RegionalSettings]
Locale=eng-GB
HTTPLocale=eng-GB
ContentObjectLocale=eng-GB
ShowUntranslatedObjects=disabled
SiteLanguageList[]=eng-GB
TextTranslation=enabled

[ContentSettings]
TranslationList=eng-GB;fre-FR

The content of my site.ini.append.php in my /extension/ezwebin/settings is as follows:

[RegionalSettings]
Locale=fre-FR
HTTPLocale=fre-FR
ContentObjectLocale=fre-FR
ShowUntranslatedObjects=disabled
SiteLanguageList[]=fre-FR
TextTranslation=enabled

[ContentSettings]
TranslationList=eng-GB;fre-FR

Now, in my templates I have template code for english/french content as the following example :

{'Family Name'|i18n( 'design/ezwebin/content/contacts')}

For the above example, I have in my translation.ts the following (in my /extension/ezwebin/translations/fre-FR folder) :


<context>
    <name>design/ezwebin/content/contacts</name>
    <message>
        <source>Family Name</source>
        <translation>Nom</translation>
    </message>
    <message>
        <source>First Name</source>
        <translation>Prénom</translation>
    </message>
    <message>
        <source>Email</source>
        <translation>Email</translation>
    </message>
    <message>
        <source>Phone No</source>
        <translation>Téléphone</translation>
    </message>
    <message>
        <source>Message</source>
        <translation>Message</translation>
    </message>
    <message>
        <source>Send</source>
        <translation>Envoyer</translation>
    </message>
    <message>
        <source>Cancel</source>
        <translation>Annuler</translation>
    </message>
    <message>
        <source>Contact Form</source>
        <translation>Formulaire de Contact</translation>
    </message>
    <message>
        <source>Contact</source>
        <translation>Contacter</translation>
    </message>
</context>    

And unfortunatly, no translation is made and my text remains in french even if I switch in english, except for the english content which is saved in the cms back-office and which is correctly displayed in correct language, but template elements are not translated.

I really need help.

Many thanks.

Pierre SCALFATI

Wednesday 03 June 2009 2:56:16 am

Please, can someone provide help on this translation problem which stays in French ? I'm getting mad with this and it's now 2 days spent searching the Forums and trying everything which is advised concerning this but without any result...

Thank you!!!

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