Changing defaut language

Author Message

Rodrigo Pinheiro

Thursday 13 May 2004 6:11:27 am

Hi,

I'm using ezpublish 3.4 beta 1.

I have installed ezpublish with English as the default language. I've added the por-PT language, and I can manage to translate texts to portuguese.

The problem is that each time I add an article, the default language is english and not in portuguese. How to change the default language to portuguese?

I've searched the documentation but I can't find a solution.
How to solve this problem?

Thanks

Alex Jones

Thursday 13 May 2004 6:38:25 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=<b>por-PT</b>
ContentObjectLocale=<b>por-PT</b>

Make sure to clear all the caches after putting these changes in place.

Alex

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

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

Rodrigo Pinheiro

Friday 14 May 2004 2:12:30 am

Problem solved! Thanks a lot Alex!

Alex Jones

Friday 14 May 2004 6:20:51 am

You are quite welcome. :) Glad to hear you are up and running.

Alex

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

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

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 18:31:47
Script start
Timing: Jan 18 2025 18:31:47
Module start 'layout'
Timing: Jan 18 2025 18:31:47
Module start 'content'
Timing: Jan 18 2025 18:31:48
Module end 'content'
Timing: Jan 18 2025 18:31:48
Script end

Main resources:

Total runtime0.6437 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.9375152.6250
Module start 'layout' 0.00700.0024 740.562539.4453
Module start 'content' 0.00950.6327 780.0078538.9688
Module end 'content' 0.64220.0015 1,318.976612.1641
Script end 0.6436  1,331.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4799160.0002
Check MTime0.00130.1955160.0001
Mysql Total
Database connection0.00110.165610.0011
Mysqli_queries0.594392.3244600.0099
Looping result0.00040.0671580.0000
Template Total0.616395.720.3082
Template load0.00170.267220.0009
Template processing0.614695.479220.3073
Template load and register function0.00030.043210.0003
states
state_id_array0.00070.110510.0007
state_identifier_array0.00130.198720.0006
Override
Cache load0.00150.2255250.0001
Sytem overhead
Fetch class attribute can translate value0.00090.142920.0005
Fetch class attribute name0.00100.158150.0002
XML
Image XML parsing0.00070.108020.0003
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00080.1244160.0001
String conversion0.00000.001040.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs