Forums / Install & configuration / Changing defaut language

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>

eZ debug

Timing: Jan 18 2025 14:55:54
Script start
Timing: Jan 18 2025 14:55:54
Module start 'content'
Timing: Jan 18 2025 14:55:54
Module end 'content'
Timing: Jan 18 2025 14:55:55
Script end

Main resources:

Total runtime0.1355 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 594.3047180.8281
Module start 'content' 0.00810.0080 775.132893.8984
Module end 'content' 0.01610.1193 869.0313522.3047
Script end 0.1353  1,391.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00382.7926200.0002
Check MTime0.00161.1732200.0001
Mysql Total
Database connection0.00080.621610.0008
Mysqli_queries0.089065.66591410.0006
Looping result0.00100.71171390.0000
Template Total0.118887.710.1188
Template load0.00100.707910.0010
Template processing0.117886.960510.1178
Override
Cache load0.00070.480610.0007
Sytem overhead
Fetch class attribute can translate value0.00050.374310.0005
XML
Image XML parsing0.00020.165310.0002
General
dbfile0.00815.9605200.0004
String conversion0.00000.004830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0004 secs