Image Problem in Multi-language site

Author Message

Sandeep Kadam

Monday 13 September 2010 2:26:42 am

Hello All,
I have created one site with multi-languages (English, German) with different site accesses.
What I want is to use same header image for all site accesses but don't wanna upload it from all site access admin.
Once image is uploaded from English admin it should reflect all user site i.e English and German user site.
I have managed to do it in user site by fetching "language_code".
But how can I show same image at German admin site ?
Is there any way of achiving this ?
i.e Image uploaded from English admin site should be available at German admin site.
Can anyone help me in this please.
Thank You,
Sandeep Kadam

Jérôme Vieilledent

Tuesday 14 September 2010 2:24:10 am

Hi Sandeep

You have several solutions :

  • In your site.ini override for your german siteaccess, set [RegionalSettings].ShowUntranslatedObjects to enabled (system wise, all untranslated objects will then be shown on your german website) and clear your INI cache.
  • On your header content object in the admin interface, go to the Translation tab (eZ Publish 4.3), tick the Use the main language if there is no prioritized translation checkbox and click Update.

You may need to clear your content cache.
Hope this helps :)

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 30 2025 16:38:04
Script start
Timing: Jan 30 2025 16:38:04
Module start 'layout'
Timing: Jan 30 2025 16:38:04
Module start 'content'
Timing: Jan 30 2025 16:38:04
Module end 'content'
Timing: Jan 30 2025 16:38:04
Script end

Main resources:

Total runtime0.0241 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.1563151.2109
Module start 'layout' 0.00520.0043 739.3672220.6875
Module start 'content' 0.00950.0129 960.0547998.4922
Module end 'content' 0.02250.0016 1,958.546929.9922
Script end 0.0241  1,988.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.8042140.0002
Check MTime0.00104.1714140.0001
Mysql Total
Database connection0.00104.321510.0010
Mysqli_queries0.002711.040330.0009
Looping result0.00000.070110.0000
Template Total0.00104.310.0010
Template load0.00083.397910.0008
Template processing0.00020.915710.0002
Override
Cache load0.00062.282710.0006
General
dbfile0.00176.960880.0002
String conversion0.00000.033640.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