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.