Multilingual site -- possible to create content only in the non-primary language?

Author Message

Luis Cruz

Wednesday 26 May 2004 1:18:16 pm

Greetings all; I have read numerous threads on setting up a multilingual site but have not seen answers to a few questions I have. The web site I would like to setup would start off as being available in English and German. I setup the site to have English as the primary language and German as the secondary. I create some objects, press release for example, that have required fields.

Now, the problem I am facing is this. Press releases may differ between the English and German language sites. A press release done in German may not have an English equivalent. Is there a way to get ezPublish to allow you to enter content that is only for the German "translation"?

When I try to create a new press release object, I can only edit the German translation if I first fill in the required fields for the English translation.

Cheers.

Lazaro Ferreira

Thursday 27 May 2004 10:13:05 am

Hi,

You can workaround this using a different siteaccess for your "only in german" information both sides (user and admin), to my knowledge this is a perfectly accepted practice for EZP 3 Sites

Lazaro
-----
http://www.mzbusiness.com

 

Lazaro
http://www.mzbusiness.com

Luis Cruz

Wednesday 02 June 2004 2:34:47 pm

Not sure I am understanding your reply; do I need two separate installs? I followed the directions you have posted in other threads about setting up a multi-lingual site. How can I take those directions and from there be able to create content that is only in German?

Regards.

Lazaro Ferreira

Friday 04 June 2004 10:32:37 am

Hi,

Two separate 'siteaccess' under the same EZP installation

like this :

ezp_root/design/only_german
ezp_root/settings/siteaccess/only_german
ezp_root/settings/siteaccess/only_german_admin

under settings/siteaccess/only_german will be your only in german site settings
under settings/siteaccess/only_german_admin will be your only in german admin site settings
optionally under design/only_german will be all of the templates and css for your 'only in german' content

to do the trick your RegionalSettings for the two siteaccess should set German as primary language

On the other hand you can share the same database (use an unique database for the whole EZP installation ), to do that put all of your 'only in german' content under a specific folder from your 'only in german' admin site
then point your IndexPage setting at

ezp_root/settings/siteaccess/only_german/site.ini.append

to your 'only in german folder'
for instance :

IndexPage=/content/view/full/143

where 143 is the node of your 'only in german' top folder content

Lazaro
...
http://www.mzbusiness.com

Lazaro
http://www.mzbusiness.com

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 22:36:21
Script start
Timing: Jan 18 2025 22:36:21
Module start 'layout'
Timing: Jan 18 2025 22:36:21
Module start 'content'
Timing: Jan 18 2025 22:36:22
Module end 'content'
Timing: Jan 18 2025 22:36:22
Script end

Main resources:

Total runtime0.8323 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.0089 589.5313152.6875
Module start 'layout' 0.00890.0068 742.218839.6172
Module start 'content' 0.01570.8151 781.8359520.2813
Module end 'content' 0.83080.0015 1,302.117212.0313
Script end 0.8323  1,314.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4744160.0002
Check MTime0.00150.1775160.0001
Mysql Total
Database connection0.00170.202710.0017
Mysqli_queries0.773192.8888600.0129
Looping result0.00070.0885580.0000
Template Total0.780093.720.3900
Template load0.00210.248720.0010
Template processing0.777993.458620.3889
Template load and register function0.00020.019310.0002
states
state_id_array0.00170.207110.0017
state_identifier_array0.00200.236520.0010
Override
Cache load0.00160.1942380.0000
Sytem overhead
Fetch class attribute can translate value0.00060.068920.0003
Fetch class attribute name0.00190.222540.0005
XML
Image XML parsing0.00030.030320.0001
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00100.1175100.0001
String conversion0.00000.001340.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
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs