Forums / Install & configuration / 3.8 - admin interface in english no matter what.

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

eZ debug

Timing: Jan 30 2025 01:00:59
Script start
Timing: Jan 30 2025 01:00:59
Module start 'content'
Timing: Jan 30 2025 01:00:59
Module end 'content'
Timing: Jan 30 2025 01:00:59
Script end

Main resources:

Total runtime0.1147 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.1797180.8047
Module start 'content' 0.00560.0051 768.9844110.1016
Module end 'content' 0.01070.1040 879.0859539.1250
Script end 0.1146  1,418.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00322.8318200.0002
Check MTime0.00131.1693200.0001
Mysql Total
Database connection0.00080.709610.0008
Mysqli_queries0.073964.43881410.0005
Looping result0.00080.68731390.0000
Template Total0.103690.310.1036
Template load0.00080.707710.0008
Template processing0.102889.629910.1028
Override
Cache load0.00060.493410.0006
Sytem overhead
Fetch class attribute can translate value0.00060.547410.0006
XML
Image XML parsing0.00030.224910.0003
General
dbfile0.01018.8406200.0005
String conversion0.00000.003530.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs