dual-lingual site - how/which way?

Author Message

Christopher Thorjussen

Tuesday 20 May 2003 7:01:03 pm

I'm about to try to set up ezPub 3 as a corporate website, and I want to have it so I can have both norwegian (default) and english pages.

Would it be best to set up two sections, like /no/ and /en/ and have the same folders under each (most of the articles and info is the same, just diff languages), or is it easier to just have one section and two article for each "topic" - using templates perhaps?

I guess I'm not the first one who want to display more or less the same site in two languages/translations?

Selmah Maxim

Wednesday 21 May 2003 1:01:04 am

Hi ..

I`ll run my site with 3 language, for this i had create 3 folder in settings\siteaccess, i mean :

settings\siteaccess\en (english)
settings\siteaccess\de (dutch)
settings\siteaccess\hu (hungarian)

and each folder have site.ini.php, an inside it you can choose the defualt language by setting the RegionalSettings :

[RegionalSettings]
Locale=eng-GB
HTTPLocale=de
ContentObjectLocale=eng-GB

now, for 3 language :

http://mysite.com/en
http://mysite.com/de
http://mysite.com/hu

that`s it all !

Christopher Thorjussen

Wednesday 21 May 2003 4:46:14 pm

This is perhaps only part of what I want...

Let me try to explain what I want to achive

http://admin.mysite.com --> open admin site
http://www.mysite.com --> open norwegian site - default/always
http://www.mysite.com/en -> open english site

Looking at the demosite data and configurations, opening
http://www.mysite.com and http://www.mysite.com/no could/should give me the same result? Do I need to make a /no/ folder in

settings/siteaccess?

At the demodata again.. it shows me a webpage with the demo template (and it's overrides). As I've said, opening

www.demosite.com or www.demosite.com/demo results in the same page. All links is like

www.demosite.com/demo/content/view/full/159/. BUT, changing /demo/ to, lets say /user/ -

www.demosite.com/user/content/view/full/159/ gives me the same content but with another design.
In my case, I don't think want to mix the content like this - so this should in my case (/no/ and /en/) result in showing an error or just displaying the default page for that site.

As a newbie to ezPub I am, all these folders, sections, siteaccess, matchorder etc is quite confusing..

And as I want to have both norwegian and english content, do I need to install both languages during setup? Does the translation function(s) translate more than the links and text on the admin page?

Selmah Maxim

Saturday 24 May 2003 9:28:18 am

you need alot to know :)

try with this link, i was just like :)

read this :
http://ez.no/developer/ez_publish_3/forum/setup_design/really_i_need_help_about_ulr_alias_language_

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:06:14
Script start
Timing: Jan 18 2025 11:06:14
Module start 'layout'
Timing: Jan 18 2025 11:06:14
Module start 'content'
Timing: Jan 18 2025 11:06:15
Module end 'content'
Timing: Jan 18 2025 11:06:15
Script end

Main resources:

Total runtime1.1137 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9141152.6250
Module start 'layout' 0.00650.0038 740.539139.4609
Module start 'content' 0.01031.1018 780.0000491.0625
Module end 'content' 1.11210.0016 1,271.062512.1563
Script end 1.1136  1,283.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3083160.0002
Check MTime0.00140.1226160.0001
Mysql Total
Database connection0.00120.105310.0012
Mysqli_queries1.053694.6005600.0176
Looping result0.00070.0628580.0000
Template Total1.070096.120.5350
Template load0.00230.202120.0011
Template processing1.067795.867020.5338
Template load and register function0.00030.023510.0003
states
state_id_array0.00090.076510.0009
state_identifier_array0.00170.152020.0008
Override
Cache load0.00180.1599430.0000
Sytem overhead
Fetch class attribute can translate value0.00080.069520.0004
Fetch class attribute name0.00200.177440.0005
XML
Image XML parsing0.00030.028520.0002
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00080.0737100.0001
String conversion0.00000.000740.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs