How do I get different lang on plain and plain_admin?

Author Message

Christopher Thorjussen

Thursday 11 December 2003 4:28:22 am

I've installed 3.3.0-beta2 using the setup wizard and chose norwegian as site language. But I want the admin interface to be in english, not norwegian.. how do I do that?

I tried to change the [RegionalSettings] in /settings/siteaccess/plain_admin from nor-NO to eng-GB (both instances). That resultet in english text on the menues, but the "main frame" just displays a Error / kernel (3) - Object is unavailable.. some setup pages displays nicely, like setup, but not the default admin page you get when you log in.. :(

any solution?

Claus Jensen

Thursday 11 December 2003 4:42:10 am

Hello!
You should read this: http://ez.no/developer/ez_publish_3/documentation/configuration/configuration/language_and_charset/how_to_setup_a_multilingual_site

And you should translate your objects to the other languages from the admin area to be able to view them.

And additionally search for translation and read especially the doc-pages on that. Since you are also using a beta-version, this could get quite buggy for you...believe me. Personally I would choose a stable version.

regards,
claÜs

Christopher Thorjussen

Thursday 11 December 2003 4:55:17 am

I am trying to read that page and other in the docs.. anyway.. looks like I actually got what I wanted:

In settings/siteaccess/plain_admin/site.ini.append:
[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=nor-NO
TextTranslation=enabled

worked. Now /plain shows default page in norwegian (no actuall content yet) and /plain_admin shows up with english text.. perhaps a dirty/wrong way to do it.. i don't know.. it works.. for now..

Gunnstein Lye

Wednesday 17 December 2003 9:43:11 am

The use of site.ini is correct. Locale changes the interface locale (language) while ContentObjectLocale changes the locale (language) of database content.

The "Object is not available" message is probably because you tried to view a translation that does not exist. See the warning in RegionalSettings in site.ini.

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

Main resources:

Total runtime0.0134 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.0046 588.3828151.2422
Module start 'layout' 0.00460.0020 739.625036.7109
Module start 'content' 0.00660.0057 776.335990.2188
Module end 'content' 0.01230.0011 866.554733.9922
Script end 0.0134  900.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002115.8935140.0002
Check MTime0.00107.6417140.0001
Mysql Total
Database connection0.00075.497610.0007
Mysqli_queries0.001712.584230.0006
Looping result0.00000.118810.0000
Template Total0.00086.110.0008
Template load0.00064.745710.0006
Template processing0.00021.362010.0002
Override
Cache load0.00043.332310.0004
General
dbfile0.002720.252580.0003
String conversion0.00000.053240.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.0001 secs