Forums / Developer / User traduction in multi-language site

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?

eZ debug

Timing: Jan 18 2025 19:38:06
Script start
Timing: Jan 18 2025 19:38:06
Module start 'content'
Timing: Jan 18 2025 19:38:07
Module end 'content'
Timing: Jan 18 2025 19:38:07
Script end

Main resources:

Total runtime0.8028 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.9297180.8281
Module start 'content' 0.00560.6802 769.7578563.6328
Module end 'content' 0.68580.1170 1,333.3906336.7734
Script end 0.8028  1,670.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4690210.0002
Check MTime0.00140.1746210.0001
Mysql Total
Database connection0.00060.077610.0006
Mysqli_queries0.732291.20111970.0037
Looping result0.00200.24361950.0000
Template Total0.778597.020.3893
Template load0.00180.222720.0009
Template processing0.776796.746720.3884
Template load and register function0.00010.011010.0001
states
state_id_array0.00090.113410.0009
state_identifier_array0.00120.144520.0006
Override
Cache load0.00150.1923330.0000
Sytem overhead
Fetch class attribute can translate value0.00160.195330.0005
Fetch class attribute name0.00140.178760.0002
XML
Image XML parsing0.00120.144630.0004
class_abstraction
Instantiating content class attribute0.00000.002480.0000
General
dbfile0.00210.2673340.0001
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs