Admin Interface: "Language Selection Interface"

Author Message

Marco Zinn

Thursday 03 April 2008 10:42:57 am

Hi,

I'm having a small issue with a multi-langual site.
The site has two languages (german and english) . Admin Site's GUI is german.
When i create an object in german language, publish it and edit it again (in admin site, by clicking the pencil icon in the sub item list of it's parent node), ez shows me the "Language Selection Interface" as documented in http://ez.no/doc/ez_publish/technical_manual/3_10/features/multi_language/working_with_translations
Fine. But now, the default value is to "translate the object to English".
But i want the default value to "edit in german".

So, how can i configure this? How can i disable this "Language Selection Interface" completly, as it is not usefull for me (at the moment, the site is german-only)?

Marco
http://www.hyperroad-design.com

Ɓukasz Serwatka

Sunday 06 April 2008 12:35:33 pm

Hi,

Unfortunately this does not work with the edit icon. (I haven't looked on admin templates). You can edit links that points to the edit mode by passing the correct locale code in admin template in order to disable it.
content/edit/OBJECT_ID/LOCALE_CODE

Enable list of used templates to find correct one.

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

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 19 2025 04:31:13
Script start
Timing: Jan 19 2025 04:31:13
Module start 'layout'
Timing: Jan 19 2025 04:31:13
Module start 'content'
Timing: Jan 19 2025 04:31:13
Module end 'content'
Timing: Jan 19 2025 04:31:13
Script end

Main resources:

Total runtime0.0218 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.4141152.6563
Module start 'layout' 0.00710.0041 742.070339.5078
Module start 'content' 0.01130.0070 781.578189.3984
Module end 'content' 0.01830.0034 870.976630.3047
Script end 0.0217  901.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002813.0398140.0002
Check MTime0.00125.3715140.0001
Mysql Total
Database connection0.00114.920410.0011
Mysqli_queries0.002812.913130.0009
Looping result0.00010.233710.0001
Template Total0.003013.610.0030
Template load0.00114.846110.0011
Template processing0.00198.731110.0019
Override
Cache load0.00062.927110.0006
General
dbfile0.00041.868880.0001
String conversion0.00000.060140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs