Admin multilingual interface issue

Author Message

Jean-Luc Nguyen

Thursday 26 March 2009 4:23:22 am

Hello there,

Is there a better solution than create X admin siteaccesses for X admin languages interfaces?

Thanks a lot!

http://www.acidre.com

justin kazadi

Thursday 26 March 2009 4:40:12 am

Hi,
i think that it depends on in your need.
why do you want to create another siteaccess of x language?
you can manage all the content from one admin interface.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Jean-Luc Nguyen

Thursday 26 March 2009 4:55:27 am

I would like to have the admin labels multilingual;

www.url.com/admin_eng
www.url.com/admin_fre
www.url.com/admin_ger
etc...

http://www.acidre.com

Denis Igin

Friday 16 October 2009 6:28:15 am

I have the same question, so will give it a second shot by answering and bringing the thread back to latest forum queue ... Anyone please? :)

NXC - OPEN RELIABLE

Gaetano Giunta

Saturday 17 October 2009 3:40:00 pm

What's wrong exactly for you with having one siteaccess per language?

Principal Consultant International Business
Member of the Community Project Board

Denis Igin

Monday 19 October 2009 1:28:27 am

It is not about being or not being able to access admin in various languages, but about extent of flexibility eZ offers for this particular issue. Namely, it is more convenient to specify admin language at the moment of editor registration with an ability to change it by this user as needed, and have a single URL for everybody to access that is provided in the manual.

NXC - OPEN RELIABLE

Gaetano Giunta

Monday 19 October 2009 5:03:27 am

@Denis sounds a good idea.

I guess it can be done using
1 - a lang attribute in the user (or looking up its translations)
2- a custom module/view instead of user/login, that does the same as the standard one, but builds a redirect url at the end that is localized

It might even be doable simply by usage of the LoginRedirectionUriAttribute setting from site.ini: just set up your user attributes that stores the url where to be redirected to, and create the custom module/view that the users will be redirected upon login. That view will just redirect to the content/view/2 in the correct siteaccess.

Principal Consultant International Business
Member of the Community Project Board

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 11:22:39
Script start
Timing: Jan 18 2025 11:22:39
Module start 'layout'
Timing: Jan 18 2025 11:22:39
Module start 'content'
Timing: Jan 18 2025 11:22:40
Module end 'content'
Timing: Jan 18 2025 11:22:40
Script end

Main resources:

Total runtime0.8685 sec
Peak memory usage4,096.0000 KB
Database Queries73

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 588.0391152.6406
Module start 'layout' 0.00670.0029 740.679739.4766
Module start 'content' 0.00960.8575 780.1563669.5469
Module end 'content' 0.86710.0014 1,449.703116.1406
Script end 0.8685  1,465.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3691160.0002
Check MTime0.00130.1548160.0001
Mysql Total
Database connection0.00080.086610.0008
Mysqli_queries0.803492.4973730.0110
Looping result0.00070.0836710.0000
Template Total0.833996.020.4170
Template load0.00200.228220.0010
Template processing0.831995.786020.4160
Template load and register function0.00010.011710.0001
states
state_id_array0.00100.117710.0010
state_identifier_array0.00100.116020.0005
Override
Cache load0.00170.1986360.0000
Sytem overhead
Fetch class attribute can translate value0.00070.076940.0002
Fetch class attribute name0.00180.2047110.0002
XML
Image XML parsing0.00220.248240.0005
class_abstraction
Instantiating content class attribute0.00000.0028140.0000
General
dbfile0.00110.1307340.0000
String conversion0.00000.000940.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
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 28
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs