Where to add ezdate.tpl override?

Author Message

K259

Tuesday 22 November 2005 8:22:50 am

I need to change the Year-,Month-, and Day- text from english to another language in this file:
design/standard/templates/content/datatype/edit/ezdate.tpl.

We have only one language, so I need to override this to preserve future changes.

Where do I place the file, and where do I set that this file should be overrided?

T.

Ɓukasz Serwatka

Thursday 24 November 2005 1:29:12 am

In code is

{'Year'|i18n( 'design/standard/content/datatype' )}

This means that in file translation.ts for your language you can add translation of this word in design/standard/content/datatype tree.

More about translations can be found here:
http://ez.no/community/translations

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

Main resources:

Total runtime0.0180 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.0056 587.9219151.2109
Module start 'layout' 0.00560.0038 739.132836.6484
Module start 'content' 0.00940.0070 775.781390.2813
Module end 'content' 0.01640.0015 866.062529.9922
Script end 0.0179  896.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002714.9460140.0002
Check MTime0.00115.8590140.0001
Mysql Total
Database connection0.00063.465310.0006
Mysqli_queries0.003720.330230.0012
Looping result0.00000.076910.0000
Template Total0.00116.210.0011
Template load0.00094.916110.0009
Template processing0.00021.228010.0002
Override
Cache load0.00073.733210.0007
General
dbfile0.002312.564280.0003
String conversion0.00000.057040.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