error and charset problem !

Author Message

Marvix Marx

Tuesday 01 August 2006 2:20:55 pm

Hi ..

using eng-US, and i had change every the charset to utf-8, and i still get this error . alot of it ...

"Warning: ezi18n Aug 02 2006 00:14:31
No translation for file(translation.ts) in context(lib/template): 'The maximum nesting level of 40 has been reached. The execution is stopped to avoid infinite recursion.' with comment()
Timing: Aug 02 2006 00:14:31
Module end 'content'
Warning: ezi18n Aug 02 2006 00:14:31
No translation for file(translation.ts) in context(kernel/navigationpart): 'Content structure' with comment(Navigation part)
Warning: ezi18n Aug 02 2006 00:14:31
No translation for file(translation.ts) in context(kernel/navigationpart): 'Media library' with comment(Navigation part)
Warning: ezi18n Aug 02 2006 00:14:31
No translation for file(translation.ts) in context(kernel/navigationpart): 'User accounts' with comment(Navigation part)
Warning: ezi18n Aug 02 2006 00:14:31
No translation for file(translation.ts) in context(kernel/navigationpart): 'Webshop' with comment(Navigation part)
Warning: ezi18n Aug 02 2006 00:14:31
No translation for file(translation.ts) in context(kernel/navigationpart): 'Design' with comment(Navigation part)
Warning: ezi18n Aug 02 2006 00:14:31
No translation for file(translation.ts) in context(kernel/navigationpart): 'Setup' with comment(Navigation part)
Warning: ezi18n Aug 02 2006 00:14:31
No translation for file(translation.ts) in context(kernel/navigationpart): 'My account' with comment(Navigation part)
"

How what to stop that !??!

Thanks in advanced.

Łukasz Serwatka

Tuesday 01 August 2006 11:18:59 pm

This warning inform you that in translation.ts file for eng-US is missing translation for some contexts. To fix this you can add missing translations.
You can learn more about translations here:
http://ez.no/community/translations

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Marvix Marx

Tuesday 01 August 2006 11:26:50 pm

But the file there , and its not missing ... and this the latest stable svn !

Łukasz Serwatka

Tuesday 01 August 2006 11:34:55 pm

using eng-US, and i had change every the charset to utf-8, and i still get this error . alot of it ...

In the latest 3.8.3 file share/translations/eng-US/translation.ts contains 1635/5725 where first count is what is translated. It is not necessary to translate all labels since eng-US and eng-GB are in many cases the same. Default locale for eZ publish is eng-GB. This warning can be ignored it is not critical and it has nothing with eZ publish stability.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Xavier Dutoit

Tuesday 01 August 2006 11:51:42 pm

Hi,

That's good to know it isn't a problem, however, what to do to have it "fixed" anyway ? I mean, warning and notice might not be always a big problem, or a problem at all like in this case, however, I like to have close to zero of these non-relevant messages, at least to be able to spot easily when there is a problem and not having to browse throught an endless list of "warnings I can safely ignore" to find the "warning(s) that leads to the problem"

X+

http://www.sydesy.com

Łukasz Serwatka

Wednesday 02 August 2006 12:22:02 am

You are right Xavier. Currently there is no INI setting to tell translation manager to ignore/disable those warnings (do not print them in the debug output). Feel free to submit new enhancement about this.

What will happend when translation is missing? The default one (English) will be display.

Tones of this warnings can only make reading the debug ouput difficult.

To fix this you can either translate all labels in the translation file or use eng-GB as default language instead of eng-US. Obviously this is not possible in all cases.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Vidar Langseid

Wednesday 02 August 2006 1:33:30 am

So, you suggest that we add a setting:
[RegionalSettings]
TranslationWarningOutput=disasbled

I am a little unsure about the name but this is somehow consistent with other settings like SQLOutput, ScriptDebugOutput etc

The warnings mentioned above is trigged by eZTranslateText() in kernel/common/i18n.php
Are the other messages you would like to be suppressed by such a setting?

Xavier Dutoit

Thursday 03 August 2006 12:10:02 am

The name of the option looks coherent with the rest. What doesn't look right for you on it ?

Enhancement request posted:

http://ez.no/bugs/view/8743

http://www.sydesy.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 20 2025 06:42:09
Script start
Timing: Jan 20 2025 06:42:09
Module start 'layout'
Timing: Jan 20 2025 06:42:09
Module start 'content'
Timing: Jan 20 2025 06:42:10
Module end 'content'
Timing: Jan 20 2025 06:42:10
Script end

Main resources:

Total runtime0.7234 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.2578152.6250
Module start 'layout' 0.00480.0027 741.882839.4453
Module start 'content' 0.00750.7141 781.3281679.3906
Module end 'content' 0.72170.0017 1,460.718820.1641
Script end 0.7234  1,480.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4487160.0002
Check MTime0.00130.1855160.0001
Mysql Total
Database connection0.00090.127610.0009
Mysqli_queries0.649089.7159760.0085
Looping result0.00070.0962740.0000
Template Total0.692795.820.3464
Template load0.00250.344620.0012
Template processing0.690295.415020.3451
Template load and register function0.00020.022410.0002
states
state_id_array0.00150.206810.0015
state_identifier_array0.00170.229320.0008
Override
Cache load0.00200.2789600.0000
Sytem overhead
Fetch class attribute can translate value0.00080.103840.0002
Fetch class attribute name0.00170.2404100.0002
XML
Image XML parsing0.00140.189940.0003
class_abstraction
Instantiating content class attribute0.00000.0050130.0000
General
dbfile0.00110.1505240.0000
String conversion0.00000.001240.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 30
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs