3.8 - admin interface in english no matter what.

Author Message

Robert Wydra

Monday 08 May 2006 12:23:28 am

Hello!

I like to be up to date so today as I start new eZp project for our client I decided to use shiny eZ publish 3.8.

One of the requirements for the website is that both admin interface and website itself is in german. Well, I chose german as the only language during the installation and thought this will do the case (it did in <3.8).

Unfortunatelly admin interface stays in english!

I also checked the settings. To switch to german in 3.7 i changed the following in admin siteaccess site.ini.append:

[RegionalSettings]
Locale=ger-DE
ContentObjectLocale=ger-DE
TextTranslation=enabled

Now I have:

[RegionalSettings]
Locale=ger-DE
ContentObjectLocale=ger-DE
ShowUntranslatedObjects=enabled
SiteLanguageList[]=ger-DE
TextTranslation=enabled

and it doesn't work! :( The content is correctly set to german but I want to have the admin interface translated to german..

Could you guys please check out how this kind of installation adn settings act on your machines?

Kristof Coomans

Monday 08 May 2006 12:36:16 am

Hello Robert

Do you have any errors related to translation in the debug output?

Maybe you have a global override (in settings/override/site.ini.append) for those settings? I've used the settings you provided on an existing 3.8 admin site access and they work correctly here.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Robert Wydra

Monday 08 May 2006 1:28:03 am

I checked settings and they are OK.

But I'm affraid that I have plenty of errors in debug output!

FIrst one is:

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()

Then I have LOTS of errors in the same scheme:

No translation for file(translation.ts) in context(kernel/navigationpart): 'Content structure' with comment(Navigation part)

No translation for file(translation.ts) in context(kernel/navigationpart): 'Media library' with comment(Navigation part)

(...)

Do you know what might cause this?

Kristof Coomans

Monday 08 May 2006 4:05:01 am

Can you check if you have a file share/translations/ger-DE/translation.ts and if the webserver has read permission on it?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Robert Wydra

Monday 08 May 2006 4:45:28 am

Yes, it has.. :(

I also set chmod a+rwx for this file but still nothing I'm affraid. Maybe I should check some other permissions?

Kristof Coomans

Monday 08 May 2006 6:20:16 am

The translation system uses some kind of caching. Has the webserver the right permissions on the var directory (read/write/execute)?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Alexandre Nion

Wednesday 07 June 2006 12:53:27 am

Hi,

I've got exactly the same issue on an upgraded to 3.8 site. It was running under 3.6.5 and I followed the upgrade procedure, all seems to work fine except this point on admin panel translation.
This shouldn't be neither a "rights" issue since I gave full access to the webserver on concerned folders. My settings are like Robert but in french:

[RegionalSettings]
SiteLanguageList[]
SiteLanguageList[]=fre-FR
ShowUntranslatedObjects=enabled
Locale=fre-FR
ContentObjectLocale=fre-FR
TextTranslation=enabled

and the same debug messages:

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()
No translation for file(translation.ts) in context(design/admin/node/view/full): 'Show object relation overview.' with comment()
No translation for file(translation.ts) in context(design/admin/node/view/line): 'Click on the icon to get a context sensitive menu.' with comment()

lots of that kind, then the english version seems to be catched. However, the french file exists, is readable/writeable, contexts exist.

Did you manage to resolve yours and how?
I didn't get away from the upgrade procedure ( http://ez.no/doc/ez_publish/technical_manual/3_8/installation/upgrading/upgrading_from_3_6_x_3_7_x_to_3_8_0 ) , did I miss something more to take in consideration?
Thanks for any information and feedback

Alexandre

Robert Wydra

Wednesday 07 June 2006 1:14:36 am

Hi,

I didn't solve that problem.. Eventually I decided to go with the latest version of eZp from the 3.7.x branch.

Now I'm working on a new project and I'm using eZp 3.8 in only one language - in Polish. It works very well so far but I have to put it in bold *I use only one language*.

What I don't like about 3.8 is the fact that by default most of the classes aren't shown in the admin interface tree navigator. You have to change this manually in ini files..

Also, there are no such basic files (in my opinion of course!) like override.ini.append in the siteaccess direcotry by default. That is a bad move if you ask me.

I understand that these changes may be thought over and really useful but I feel bad about the fact that eZp developers didn't document it properly. I had to learn about all of this from the forums. (And I did learn the changelog and announcement of 3.8!)

Don't get me wrong - I love what you guys came up with but I want to give you my feedback even if it's negative sometimes :)

Tomorrow, I'll be setting up a multilingual site on 3.8 and let you know how it went! I have some fresh ideas so it might work finally.

André R.

Sunday 11 June 2006 9:31:05 am

I have also gotten this problem a couple of times, it's always when I update ez translation files over a fresh install.

The only workaround has been to turn of TextTranslation completly.

I reported this back in january, but it's seems to be hard to reproduce.

My envirmont:
ez 3.7.7
APC 3.0.10
Apache 2.0.54
php 4.4.2
Debian 3.1 w / 2.6 kernel

Amd x2 4400

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Yaroslav Hnatyuk

Wednesday 01 August 2007 12:35:01 pm

Dear Robert,
I have a very awkward question to you.If you are of Polish origin and your wifes name is Marianne., you are the man we are looking for.Two sisters from Ukraine(Town of Turka) Sofia and Maria lost contacts with your family.If you have relatives in Ukraine, please contact us on these E-mail.

We are looking forward to hear from you.
Sincerely yours,
Stets Family

Yaroslav Hnatyuk

Wednesday 01 August 2007 12:36:49 pm

Hi Robert ,,
I forgot to give you my E-mail: autovass@yahoo.co.uk.

Stets Family
Ukraine

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 18 2025 10:52:44
Script start
Timing: Jan 18 2025 10:52:44
Module start 'layout'
Timing: Jan 18 2025 10:52:44
Module start 'content'
Timing: Jan 18 2025 10:52:45
Module end 'content'
Timing: Jan 18 2025 10:52:45
Script end

Main resources:

Total runtime0.8376 sec
Peak memory usage4,096.0000 KB
Database Queries87

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.2813152.6563
Module start 'layout' 0.00490.0028 741.937539.5078
Module start 'content' 0.00770.8284 781.4453763.6875
Module end 'content' 0.83600.0015 1,545.132828.1094
Script end 0.8375  1,573.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3941160.0002
Check MTime0.00130.1558160.0001
Mysql Total
Database connection0.00070.084410.0007
Mysqli_queries0.725786.6417870.0083
Looping result0.00120.1429850.0000
Template Total0.809296.620.4046
Template load0.00220.267520.0011
Template processing0.807096.347320.4035
Template load and register function0.00030.030610.0003
states
state_id_array0.00070.082510.0007
state_identifier_array0.00090.108020.0005
Override
Cache load0.00200.2441830.0000
Sytem overhead
Fetch class attribute can translate value0.00100.122450.0002
Fetch class attribute name0.00140.1675140.0001
XML
Image XML parsing0.00420.499450.0008
class_abstraction
Instantiating content class attribute0.00000.0048190.0000
General
dbfile0.00300.3603290.0001
String conversion0.00000.001040.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
11content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
22content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
7content/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: 56
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs