Adding a custom language anomaly

Author Message

Arnór Kristjánsson

Thursday 11 August 2005 9:47:42 am

Hi,

I'm in the process of setting up a mult-language site with one of the main languages being Icelandic for which no translation is available. I set up ez and it seems to work OK, but my test translation doesn't appear in the list when I add a new language. I also tried adding a "custom" language with "Icelandic" and "ice-IS" as the input field values but it doesn't give me any feedback; no error and no new language in the list.

Any ideas why this could be?

A.

Łukasz Serwatka

Thursday 11 August 2005 11:36:42 pm

Hi,

Go to share/locale dir and create ice-IS.ini file. Create also folder "ice-IS" in share/translations, and put there your .ts file with translation. After that go to administration interface and add new custom language.

Could you report bug, eZ publish should automaticly create files for new language, empty or in default language, then you can translate it.

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 19 2025 01:19:49
Script start
Timing: Jan 19 2025 01:19:49
Module start 'layout'
Timing: Jan 19 2025 01:19:49
Module start 'content'
Timing: Jan 19 2025 01:19:50
Module end 'content'
Timing: Jan 19 2025 01:19:50
Script end

Main resources:

Total runtime1.0495 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 589.2813152.6406
Module start 'layout' 0.00420.0022 741.921939.4766
Module start 'content' 0.00641.0417 781.3984523.7422
Module end 'content' 1.04820.0013 1,305.14068.1406
Script end 1.0495  1,313.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2881160.0002
Check MTime0.00120.1139160.0001
Mysql Total
Database connection0.00060.061210.0006
Mysqli_queries1.010496.2754540.0187
Looping result0.00050.0511520.0000
Template Total1.025597.720.5128
Template load0.00180.169120.0009
Template processing1.023797.543820.5119
Template load and register function0.00020.021110.0002
states
state_id_array0.00080.072310.0008
state_identifier_array0.00080.080420.0004
Override
Cache load0.00140.1363120.0001
Sytem overhead
Fetch class attribute can translate value0.00100.091520.0005
Fetch class attribute name0.00110.102330.0004
XML
Image XML parsing0.00070.062120.0003
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00080.0716180.0000
String conversion0.00000.000640.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs