User traduction in multi-language site

Author Message

Pierre-Yves Savard

Monday 23 April 2007 6:10:33 am

I have a multi-language site on ezpublish 3.8. If i create a user in one of my site access, I cannot access it in the other site access. Normaly the user should always be accessible in both language without having to translate it.

The big thing is that I don't want to set the ShowUntranslatedObject to true because I don't want to show other object, only the users object.

any ideas??

Thank you

Pierre-Yves Savard

Wednesday 25 April 2007 6:13:56 am

3 days without any reply???

There should be someone with the part of an answer in the ez community!?!?

again, here are the big lines of my problem

- eZ Publish 3.8
- Multi-language web site
- If I create a user in the English language, I cannot access his information in the other language
- ShowUntranslatedObject=true is not a solution
- All my Users have 2 child and they must be accessible in both language too

someone in my team thought that if an object have all his translation option disable for each attribute then the object should be accessible from all the siteaccess but that don't seem to be the case

so now I need some help please...

Thank you

André R.

Wednesday 25 April 2007 6:22:15 am

Did you try the 'Default object availability' option on the class ?

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

Pierre-Yves Savard

Wednesday 25 April 2007 1:08:52 pm

Ok, now the Default object availability option is set to Available for the user and for its children. This is now solved. Thank you André

But... I have another little problem.

I've just create my user in the english language. when I try to access it in my other language, trough this path "fre/content/edit/1258" ez publish create a new draft in french and it should be in english and i can't see the information. well, i'm not 100% about the draft thing but here's what I've done to conclude that.

1) access the user trough the eng siteaccess "eng/content/edit/1258/10/eng-CA". the User information are shown. that's all right!
2) change the siteaccess in the url to french -> "fre/content/edit/1258/10/eng-CA". the User information are shown.
3) clear the draft version and the language -> "fre/content/edit/1258" . the User information aren't shown. bad....

so How can I access my user without specifying draft?

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 06:12:42
Script start
Timing: Jan 31 2025 06:12:42
Module start 'layout'
Timing: Jan 31 2025 06:12:42
Module start 'content'
Timing: Jan 31 2025 06:12:42
Module end 'content'
Timing: Jan 31 2025 06:12:42
Script end

Main resources:

Total runtime0.0169 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.2500151.2266
Module start 'layout' 0.00540.0021 739.476636.6641
Module start 'content' 0.00750.0069 776.140694.1406
Module end 'content' 0.01440.0024 870.281333.9922
Script end 0.0168  904.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002816.7640140.0002
Check MTime0.00116.7667140.0001
Mysql Total
Database connection0.00084.821210.0008
Mysqli_queries0.002716.272030.0009
Looping result0.00000.053710.0000
Template Total0.00169.710.0016
Template load0.00137.691310.0013
Template processing0.00031.927110.0003
Override
Cache load0.00105.877410.0010
General
dbfile0.002212.977780.0003
String conversion0.00000.031140.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