Multi-language site with an english-only part

Author Message

Xavier Portebois

Tuesday 22 May 2007 3:29:48 am

Hello all !

I began a web site in French (fre-FR) and English (eng-GB), and later during the development, I learned that some pages of the site will only be in English, without translation - for the rest of the application, French is the default language.

So, this pages need to be full English, as if there is any French site.

Which way is the best to manage this english-only pages ?
The admin will only make english content for this pages, but in Front Office, the websurfer will access to the articles with urls beginning with "/fr/..." (the french siteaccess), and so all the "static"-content (like "you are here" in the breadcrumbs, ...) will be displayed in French.

Any idea ? Thanks at all,

:Xavier.

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 04:27:07
Script start
Timing: Jan 31 2025 04:27:07
Module start 'layout'
Timing: Jan 31 2025 04:27:07
Module start 'content'
Timing: Jan 31 2025 04:27:07
Module end 'content'
Timing: Jan 31 2025 04:27:07
Script end

Main resources:

Total runtime0.0155 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.2656151.2266
Module start 'layout' 0.00540.0031 739.492236.6797
Module start 'content' 0.00850.0053 776.171986.0781
Module end 'content' 0.01380.0017 862.250029.9922
Script end 0.0154  892.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002818.2684140.0002
Check MTime0.00148.8060140.0001
Mysql Total
Database connection0.00095.634910.0009
Mysqli_queries0.002616.920130.0009
Looping result0.00000.077010.0000
Template Total0.00138.510.0013
Template load0.00106.500910.0010
Template processing0.00031.989210.0003
Override
Cache load0.00074.821310.0007
General
dbfile0.00032.069480.0000
String conversion0.00000.053940.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