Possible translation bug

Author Message

Pablo C. Vergara Castro

Tuesday 06 July 2004 3:30:03 am

Hi to all.

I would like to share with all my disagreeable experience and you me said to me if she is or not a bug.

I must to internationalize design contents of a site and for that what I was create two siteaccess with the configurations:

[RegionalSettings ]
Locale=eng-GB
ContentObjectLocale=eng-GB
TextTranslation=enabled

[RegionalSettings ]
Locale=esl-ES
ContentObjectLocale=esl-ES
TextTranslation=enabled

In the administration interface I added both languages to translate objects and creates the directories in:
extensions/<mymodule>/translation/esl-ES
and
extensions/<mymodule>/translation/eng-GB.

When making the translations in Spanish everything goes fine but the translations in English did not read them well.

After one day of tests I can assure that if I write site.ini:

[RegionalSettings ]
Locale=eng-U.S.
ContentObjectLocale=eng-U.S.
TextTranslation=enabled

and rename the directory extensions/<mymodule>/translation/eng-U.S. he works.

Now why does not work with eng-GB? it is a bug?

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 12:46:46
Script start
Timing: Jan 19 2025 12:46:46
Module start 'layout'
Timing: Jan 19 2025 12:46:46
Module start 'content'
Timing: Jan 19 2025 12:46:48
Module end 'content'
Timing: Jan 19 2025 12:46:48
Script end

Main resources:

Total runtime1.4379 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0090 589.1563152.6250
Module start 'layout' 0.00910.0059 741.781339.4453
Module start 'content' 0.01501.4213 781.2266405.7188
Module end 'content' 1.43630.0016 1,186.94538.1641
Script end 1.4378  1,195.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2385160.0002
Check MTime0.00130.0921160.0001
Mysql Total
Database connection0.00110.079810.0011
Mysqli_queries1.390796.7210460.0302
Looping result0.00060.0399440.0000
Template Total1.389896.720.6949
Template load0.00230.160620.0012
Template processing1.387596.495220.6937
Template load and register function0.00020.012610.0002
states
state_id_array0.00320.221810.0032
state_identifier_array0.00400.278520.0020
Override
Cache load0.00190.1287260.0001
Sytem overhead
Fetch class attribute can translate value0.00080.054910.0008
Fetch class attribute name0.00090.059510.0009
XML
Image XML parsing0.00010.008110.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00070.0514100.0001
String conversion0.00000.001140.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs