Why register.tpl display with mix language GB/FR ?

Author Message

Yann Decam

Sunday 29 April 2007 12:55:19 pm

Hello,

As i'm performing my learning curve with this product and i'm facing a problem.
I'm running 2 languages GB/FR with 3.9.
when displaying the user registration ( register.tpl ) i've the title and button in english and the rest of class in french.
See the picture enclosed :
http://www.france-modelisme.com/~boutique/skin1/images/ez3.9.jpg

I look at the ts translated FR file :

<message>
        <source>Register user</source>
        <translation>Inscription</translation>
    </message>

Translation seems to be there also in the register.tpl

<div class="attribute-header">
    <h1 class="long">{"Register user"|i18n("design/ezwebin/user/register")}</h1>
</div>

What's wrong with me ?
If someone can help me ?

Xavier Dutoit

Sunday 29 April 2007 1:47:47 pm

What's the locale you use ? Is the translation enabled ?

Looks, there is something not done properly in your ini file.

X+

http://www.sydesy.com

Yann Decam

Sunday 29 April 2007 3:49:59 pm

Thank you Xavier for the input but here is site.ini.append.php

[RegionalSettings]
Locale=fre-FR
ContentObjectLocale=fre-FR
ShowUntranslatedObjects=enabled
SiteLanguageList[]
SiteLanguageList[]=fre-FR
SiteLanguageList[]=eng-GB
TextTranslation=enabled

I don' t see any error thus installation comes from the default set-up.

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 19 2025 07:14:10
Script start
Timing: Jan 19 2025 07:14:10
Module start 'layout'
Timing: Jan 19 2025 07:14:10
Module start 'content'
Timing: Jan 19 2025 07:14:11
Module end 'content'
Timing: Jan 19 2025 07:14:11
Script end

Main resources:

Total runtime0.8917 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.3047152.6406
Module start 'layout' 0.00680.0031 741.945339.4766
Module start 'content' 0.00990.8794 781.4219534.6016
Module end 'content' 0.88930.0024 1,316.023412.1250
Script end 0.8917  1,328.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4727160.0003
Check MTime0.00150.1635160.0001
Mysql Total
Database connection0.00170.188510.0017
Mysqli_queries0.840394.2335570.0147
Looping result0.00060.0647550.0000
Template Total0.853195.720.4266
Template load0.00220.245520.0011
Template processing0.850995.421520.4254
Template load and register function0.00020.026610.0002
states
state_id_array0.00180.202610.0018
state_identifier_array0.00140.159820.0007
Override
Cache load0.00170.1894240.0001
Sytem overhead
Fetch class attribute can translate value0.00070.081320.0004
Fetch class attribute name0.00160.174740.0004
XML
Image XML parsing0.00070.075520.0003
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00090.0966160.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs