Has anyone idea, how switchlanguage works?

Author Message

Vytautas Germanavičius

Friday 14 August 2009 4:08:47 am

i installed ezp 4.1.3 and found that previus language selector is replaced by new module. That's ok.
But how it works? where i can get description?

I identify siteacesses by hostname: MatchOrder=host

I configured 3 sitecesses with different languages: Lit (main), Rus, Eng

When i try to swicth from Lit to Rus, i get Lit domain, Rus url, but lit content

When i manualy connect to rus page, i see rus domain, rus url and rus content.

does switchlanguage work at all?

Or maybe it works only with siteacess identification by URL?

{set-block scope=root variable=cache_ttl}0{/set-block}

Łukasz Serwatka

Friday 14 August 2009 7:01:05 am

Language switcher is using site.ini.[RegionalSettings].TranslationSA. See INI setting description for more information.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Peter Keung

Friday 14 August 2009 9:11:01 am

You can also check this doc:

http://pubsvn.ez.no/nextgen/stable/4.1/doc/features/4.1/language_switcher.txt

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

Vytautas Germanavičius

Thursday 27 August 2009 3:49:26 am

thank you for link, but it seems that it is not finished to implement...

http://issues.ez.no/IssueView.php?Id=15298&activeItem=1

{set-block scope=root variable=cache_ttl}0{/set-block}

André R.

Thursday 27 August 2009 8:50:28 am

That highly depends on you configuration, see the bug for question for you.

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

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 18 2025 11:35:41
Script start
Timing: Jan 18 2025 11:35:41
Module start 'layout'
Timing: Jan 18 2025 11:35:41
Module start 'content'
Timing: Jan 18 2025 11:35:42
Module end 'content'
Timing: Jan 18 2025 11:35:42
Script end

Main resources:

Total runtime0.7361 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.0703152.6406
Module start 'layout' 0.00550.0023 740.710939.4766
Module start 'content' 0.00790.7265 780.1875654.0234
Module end 'content' 0.73440.0015 1,434.210916.1250
Script end 0.7359  1,450.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4148160.0002
Check MTime0.00130.1782160.0001
Mysql Total
Database connection0.00090.116210.0009
Mysqli_queries0.665690.4233670.0099
Looping result0.00080.1110650.0000
Template Total0.710996.620.3555
Template load0.00210.291720.0011
Template processing0.708896.290120.3544
Template load and register function0.00010.017710.0001
states
state_id_array0.00110.147310.0011
state_identifier_array0.00090.117320.0004
Override
Cache load0.00190.2523260.0001
Sytem overhead
Fetch class attribute can translate value0.00130.175740.0003
Fetch class attribute name0.00120.161390.0001
XML
Image XML parsing0.00250.346440.0006
class_abstraction
Instantiating content class attribute0.00000.0028100.0000
General
dbfile0.00120.1565380.0000
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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 6

Time used to render debug report: 0.0001 secs