Switching my site from eng-GB to some other language

Author Message

Trond Åge Kvalø

Tuesday 18 May 2004 1:09:30 am

I have set up a site using eng-GB as the main and only language. Since that was what was recommended in the tutorial.

Now that the site is finished, how can I switch from eng-GB as the main language to nor-NO?

Are there any caveats I should be aware of? I do not need to have a multilingual site.

Anyone?

best regards
trondåge

trondåge

Alex Jones

Tuesday 18 May 2004 7:14:47 am

You should be able to do this by making a change in your site.ini.append file:

[RegionalSettings]
# The primary language for your site
Locale=nor-NO
ContentObjectLocale=nor-NO

As always, make sure to clear all the caches after putting these changes in place.

I don't know of any issues with the change.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Trond Åge Kvalø

Wednesday 19 May 2004 12:00:51 am

Hello Alex!

Thanks for your reply. I can now enlighten you, and tell you that there's at least one caveat :-)

When I did this change, I got the following error message:

Object is unavailable.

Anyone got an idea why?

best regards
trondåge

trondåge

Rinze Cats

Wednesday 19 May 2004 1:52:18 am

mm, i'd first check if the translation is in place (share/translations)I use a translation for 3.3.3 and 3.3.5 and it works fine!

i have this in the site.ini for my site for the dutch translation

[RegionalSettings]
Locale=dut-NL
ContentObjectLocale=dut-NL
TextTranslation=enabled

Børge Kjeldstad

Monday 24 May 2004 3:32:33 am

I tried to do the same as Trond Åge and got the same message:
"object not available". Did follow Rinze's advice and checked
if the translation was in place (share/translations). It was...
So something else must be wrong I think..
Thanks for any advices : )

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 19:10:27
Script start
Timing: Jan 18 2025 19:10:27
Module start 'layout'
Timing: Jan 18 2025 19:10:27
Module start 'content'
Timing: Jan 18 2025 19:10:28
Module end 'content'
Timing: Jan 18 2025 19:10:28
Script end

Main resources:

Total runtime0.8627 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0094 588.0625152.6406
Module start 'layout' 0.00940.0063 740.703139.4766
Module start 'content' 0.01570.8455 780.1797624.1094
Module end 'content' 0.86120.0015 1,404.289112.1250
Script end 0.8627  1,416.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.4978160.0003
Check MTime0.00180.2097160.0001
Mysql Total
Database connection0.00200.228610.0020
Mysqli_queries0.796092.2736670.0119
Looping result0.00070.0808650.0000
Template Total0.810393.920.4051
Template load0.00190.218220.0009
Template processing0.808493.701820.4042
Template load and register function0.00010.013510.0001
states
state_id_array0.00170.197010.0017
state_identifier_array0.00110.132420.0006
Override
Cache load0.00160.1896400.0000
Sytem overhead
Fetch class attribute can translate value0.00070.084840.0002
Fetch class attribute name0.00120.141260.0002
XML
Image XML parsing0.00140.162840.0004
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00090.1050160.0001
String conversion0.00000.001240.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
5content/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
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs