Forums / Install & configuration / Change regional settings

Change regional settings

Author Message

Frode Slettum

Monday 29 May 2006 6:24:03 am

Hi

I'm using the "intranet solution" package. This is based on english language pack, and this is just fine. I have changed almost all templates, and while I did that I also changed the text hardcoded in the templates. The only problem is settings like date format, weekdays etc. I don't want to fetch "Monday" from the day a node was published, I want "Mandag". (Monday in norwegian).

I guess this is a really easy task but couldn't find it in the documentation.

regards
Frode

Christian Johansen

Tuesday 30 May 2006 9:40:28 am

Make sure you configure your siteaccess to use the correct locale, see this: http://ez.no/doc/ez_publish/technical_manual/3_7/reference/configuration_files/site_ini/regionalsettings/locale

Then you use i10n or dateformat functions in templates.

eZ debug

Timing: Jan 20 2025 08:51:00
Script start
Timing: Jan 20 2025 08:51:00
Module start 'content'
Timing: Jan 20 2025 08:51:00
Module end 'content'
Timing: Jan 20 2025 08:51:00
Script end

Main resources:

Total runtime0.0220 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0105 590.2969180.8281
Module start 'content' 0.01050.0068 771.125093.8984
Module end 'content' 0.01730.0047 865.023470.7031
Script end 0.0220  935.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003214.6347120.0003
Check MTime0.00177.8950120.0001
Mysql Total
Database connection0.00094.137910.0009
Mysqli_queries0.004620.676640.0011
Looping result0.00000.095220.0000
Template Total0.004118.510.0041
Template load0.00104.605210.0010
Template processing0.003113.912010.0031
Override
Cache load0.00073.271410.0007
General
dbfile0.00031.3869100.0000
String conversion0.00000.027030.0000
Note: percentages do not add up to 100% because some accumulators overlap

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.0001 secs