Forums / Install & configuration / error and charset problem !

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

eZ debug

Timing: Jan 20 2025 05:49:32
Script start
Timing: Jan 20 2025 05:49:32
Module start 'content'
Timing: Jan 20 2025 05:49:33
Module end 'content'
Timing: Jan 20 2025 05:49:33
Script end

Main resources:

Total runtime1.2860 sec
Peak memory usage4,096.0000 KB
Database Queries213

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 588.9766180.8281
Module start 'content' 0.00881.1692 769.8047684.4688
Module end 'content' 1.17800.1079 1,454.2734344.4609
Script end 1.2860  1,798.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.3467210.0002
Check MTime0.00170.1297210.0001
Mysql Total
Database connection0.00140.109210.0014
Mysqli_queries1.195192.92942130.0056
Looping result0.00220.17432110.0000
Template Total1.251397.320.6256
Template load0.00310.241720.0016
Template processing1.248297.054720.6241
Template load and register function0.00010.011410.0001
states
state_id_array0.00170.135010.0017
state_identifier_array0.00200.151620.0010
Override
Cache load0.00270.2129600.0000
Sytem overhead
Fetch class attribute can translate value0.00120.095650.0002
Fetch class attribute name0.00130.1049100.0001
XML
Image XML parsing0.00170.133450.0003
class_abstraction
Instantiating content class attribute0.00000.0023130.0000
General
dbfile0.00280.2140350.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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