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.

eZ debug

Timing: Jan 31 2025 01:15:22
Script start
Timing: Jan 31 2025 01:15:22
Module start 'layout'
Timing: Jan 31 2025 01:15:22
Module start 'content'
Timing: Jan 31 2025 01:15:22
Module end 'content'
Timing: Jan 31 2025 01:15:22
Script end

Main resources:

Total runtime0.0239 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1406151.2109
Module start 'layout' 0.00500.0042 739.3516220.7031
Module start 'content' 0.00920.0132 960.0547997.8203
Module end 'content' 0.02240.0014 1,957.875033.9922
Script end 0.0239  1,991.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.3297140.0002
Check MTime0.00114.4199140.0001
Mysql Total
Database connection0.00083.290210.0008
Mysqli_queries0.00229.019430.0007
Looping result0.00000.062910.0000
Template Total0.00114.410.0011
Template load0.00083.277210.0008
Template processing0.00031.105710.0003
Override
Cache load0.00052.273310.0005
General
dbfile0.00187.626380.0002
String conversion0.00000.042940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs