Best Practice: Translating

Author Message

John Moritz

Saturday 10 January 2009 8:58:56 am

I am developing a local based community site for a german audience. We have a lot of students in here from abroad. So i want to translate my Site to english language and maybe more in the future (turkish and french is planned).

The Problem what i have is, which language i should use as base in the templates which will the be translated thru the .ts files. In one Forum thread (i cannot find now) i ve read that i must use english as the base. Thats a Problem for me because its not my native language and sometime i translate content wrong. This will then be a Problem, when i use the same translating on different templates and pages. If i want to make changes, i have to do it on all templates. The risk is also high that i forget a page and the Page stays on false translation.

Is it true that i have to use english in the templates, or is it also safe to use german as bae and make an english folder for translating content?

Where are the problems in this case?

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 04:58:29
Script start
Timing: Jan 18 2025 04:58:29
Module start 'layout'
Timing: Jan 18 2025 04:58:29
Module start 'content'
Timing: Jan 18 2025 04:58:30
Module end 'content'
Timing: Jan 18 2025 04:58:30
Script end

Main resources:

Total runtime0.8176 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 589.3516152.6250
Module start 'layout' 0.00820.0034 741.976639.4453
Module start 'content' 0.01160.8046 781.4219399.3984
Module end 'content' 0.81620.0014 1,180.82038.1641
Script end 0.8175  1,188.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4223160.0002
Check MTime0.00140.1728160.0001
Mysql Total
Database connection0.00210.258710.0021
Mysqli_queries0.772894.5278460.0168
Looping result0.00040.0473440.0000
Template Total0.781695.620.3908
Template load0.00240.297120.0012
Template processing0.779295.306520.3896
Template load and register function0.00020.027810.0002
states
state_id_array0.00130.162910.0013
state_identifier_array0.00090.104320.0004
Override
Cache load0.00180.219470.0003
Sytem overhead
Fetch class attribute can translate value0.00060.069110.0006
Fetch class attribute name0.00050.065210.0005
XML
Image XML parsing0.00030.031210.0003
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00070.0869100.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs