Forums / Setup & design / Serious isssue with multi language basic installation

Serious isssue with multi language basic installation

Author Message

Yann Decam

Wednesday 02 May 2007 12:27:10 pm

Hi everybody,

I run the latest 3.9.1 out the box with italian as default language and french as the additional one.
The funny thing is that when doing a user registration in Italian, we got the italian message and english one. See the link :
http://ns37483.ovh.net/~ezfr/var/ezwebin_site/storage/images/design/ez_publish/172-1-ita-IT/EZ3.9.1.jpg

Is this a bug with the latest realease or what ?

Thanks for your help as i really need to move foward now.

André R.

Wednesday 02 May 2007 3:00:56 pm

You probably need to translate the user class, this applies to all other classes as well.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Yann Decam

Wednesday 02 May 2007 4:01:52 pm

I'm sorry André but if i look at the user class some of the fields can be translated but some not. if we look deeper in the tpl some words should be translated automatically. Thus if we look at a basket.tpl futhermore, same problem apply so it's not a question userclass i think ?
Here is code we have for register.tpl for the title of the button or "register user" :

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

<input class="button" type="submit" name="CancelButton" value="{'Discard'|i18n('design/ezwebin/user/register')}" />

it should be translated no ?

eZ debug

Timing: Jan 18 2025 11:11:30
Script start
Timing: Jan 18 2025 11:11:30
Module start 'content'
Timing: Jan 18 2025 11:11:30
Module end 'content'
Timing: Jan 18 2025 11:11:30
Script end

Main resources:

Total runtime0.0223 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0107 587.9531180.8125
Module start 'content' 0.01070.0047 768.765694.0703
Module end 'content' 0.01540.0068 862.835970.7031
Script end 0.0222  933.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00229.9844120.0002
Check MTime0.00104.6988120.0001
Mysql Total
Database connection0.00104.392510.0010
Mysqli_queries0.002410.574440.0006
Looping result0.00000.053520.0000
Template Total0.006529.110.0065
Template load0.00083.485510.0008
Template processing0.005725.628010.0057
Override
Cache load0.00062.479010.0006
General
dbfile0.002511.1194100.0002
String conversion0.00000.022530.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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