How to override a locale ini file?

Author Message

Guillaume Marty

Wednesday 17 June 2009 3:09:36 am

The default install of Ez Publish comes with an inaccurate setup in share/locale/dut-NL.ini.
IMHO, the HTTP contentLanguage should read nl-NL (instead of dut-NL).

Is there a way to override this setting without editing the file itself.
Should I submit a bug entry for this?

Ɓukasz Serwatka

Wednesday 17 June 2009 7:50:46 am

You can create a new file like dut-NL@fixed.ini then use Locale=dut-NL@fixed. eZ Publish will load correct file.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 11:15:46
Script start
Timing: Jan 18 2025 11:15:46
Module start 'layout'
Timing: Jan 18 2025 11:15:46
Module start 'content'
Timing: Jan 18 2025 11:15:46
Module end 'content'
Timing: Jan 18 2025 11:15:46
Script end

Main resources:

Total runtime0.0173 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.0068 587.9375152.6250
Module start 'layout' 0.00680.0039 740.562539.4453
Module start 'content' 0.01080.0046 780.007889.3359
Module end 'content' 0.01540.0018 869.343830.3047
Script end 0.0172  899.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002414.1614140.0002
Check MTime0.00116.5862140.0001
Mysql Total
Database connection0.00137.613910.0013
Mysqli_queries0.004324.658130.0014
Looping result0.00000.163010.0000
Template Total0.00158.710.0015
Template load0.00084.548710.0008
Template processing0.00074.142610.0007
Override
Cache load0.00053.168810.0005
General
dbfile0.00021.418680.0000
String conversion0.00000.051140.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