Custom translation in templates?

Author Message

Patrizio Bekerle

Friday 26 March 2004 1:41:06 am

Hi!

I've a multilingual page and want to use some custom text (like menu entries) in the templates (e.g. pagelayout.tpl). Where can I store my custom translations?
As far as I know you can only use the "main" translation.ts files or create an extension in the extension dir to use your own translation.ts.
Is there a way to have your custom translation.ts file in your project's settings or design dir?

regards, Patrizio

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 31 2025 04:15:25
Script start
Timing: Jan 31 2025 04:15:25
Module start 'layout'
Timing: Jan 31 2025 04:15:25
Module start 'content'
Timing: Jan 31 2025 04:15:25
Module end 'content'
Timing: Jan 31 2025 04:15:25
Script end

Main resources:

Total runtime0.0144 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.0043 588.1328151.2109
Module start 'layout' 0.00430.0022 739.343836.6641
Module start 'content' 0.00650.0065 776.007886.0469
Module end 'content' 0.01300.0014 862.054729.9922
Script end 0.0143  892.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002215.1735140.0002
Check MTime0.00117.5055140.0001
Mysql Total
Database connection0.00063.973410.0006
Mysqli_queries0.002315.815630.0008
Looping result0.00000.083010.0000
Template Total0.00107.310.0010
Template load0.00085.720410.0008
Template processing0.00021.511410.0002
Override
Cache load0.00064.036410.0006
General
dbfile0.002617.798180.0003
String conversion0.00000.034840.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