i18n translation problems

Author Message

Pierre SCALFATI

Monday 15 June 2009 3:02:40 am

Hello,

I put a post a few weeks ago concerning problems with i18n translation but had no answer to my post. As it is becoming URGENT, I explain once more my problem hoping to have an answer.

I have a website composed of French content (the default is French) and English content.
Presently, my i18n translation doesn't work. When I am on French Website or English Website, the different labels of my template are always displayed in French.

The site.ini;append.php content for the "fre" (french site) folder is as follows :

[RegionalSettings]
Locale=fre-FR
HTTPLocale=fre-FR
ContentObjectLocale=fre-FR
ShowUntranslatedObjects=disabled
SiteLanguageList[]=fre-FR
TextTranslation=enabled
[ContentSettings]
TranslationList=eng-GB;fre-FR

The site.ini;append.php content for the "eng" (english site) folder is as follows :

[RegionalSettings]
Locale=eng-GB
HTTPLocale=eng-GB
ContentObjectLocale=eng-GB
ShowUntranslatedObjects=disabled
SiteLanguageList[]=eng-GB
TextTranslation=enabled
[ContentSettings]
TranslationList=eng-GB;fre-FR

If anyone can answer it would be of great help.

Best regards.

Pierre SCALFATI

Wednesday 01 July 2009 12:45:33 am

Hello,

Finally I've found what was wrong with my configuration. I looked in my site.ini.append.php in my mysite\settings\override folder and found a RegionalSettings block which was declared with french (fre-FR) as Locale. So I removed totally from that file the [RegionalSettings] block (because everything is declared for that block in my mysite\extension\ezwebin\settings\siteaccess\fre\site.ini.append.php and mysite\extension\ezwebin\settings\siteaccess\eng\site.ini.append.php.

I went then in the site.ini.append.php which is in mysite\extension\ezwebin\settings and reduced the content of the [RegionalSettings] block to the following :

[RegionalSettings]
TranslationExtensions[]=ezwebin

 

I hope it will help.

Best regards.

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 19 2025 23:41:26
Script start
Timing: Jan 19 2025 23:41:26
Module start 'layout'
Timing: Jan 19 2025 23:41:26
Module start 'content'
Timing: Jan 19 2025 23:41:28
Module end 'content'
Timing: Jan 19 2025 23:41:28
Script end

Main resources:

Total runtime1.0615 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.1563152.6250
Module start 'layout' 0.00490.0030 741.781339.4453
Module start 'content' 0.00781.0525 781.2266429.2734
Module end 'content' 1.06030.0012 1,210.50008.1641
Script end 1.0615  1,218.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2872160.0002
Check MTime0.00140.1272160.0001
Mysql Total
Database connection0.00060.053610.0006
Mysqli_queries1.024496.4997520.0197
Looping result0.00030.0318500.0000
Template Total1.034897.520.5174
Template load0.00200.187020.0010
Template processing1.032897.290820.5164
Template load and register function0.00010.011210.0001
states
state_id_array0.00080.071310.0008
state_identifier_array0.00060.056420.0003
Override
Cache load0.00160.1547210.0001
Sytem overhead
Fetch class attribute can translate value0.00050.047010.0005
Fetch class attribute name0.00080.072620.0004
XML
Image XML parsing0.00010.009810.0001
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00060.0533100.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs