"Edit in" - error

Author Message

Radek Kuchta

Monday 04 September 2006 3:47:56 am

Hi all,

I have a problem in my eZ (3.8.3).
When I try to access the "Edit in" submenu I have a long list of " %name% " tags and also available languages.

Do you have any idea how to remove the list of %name% ?

http://ez.no/certification/verify/272582

Claudia Kosny

Thursday 14 September 2006 12:33:55 pm

Hi Radek

What is the main language for your admin site? Usually the %xxx are placeholders for values that are not translated, e.g. Node Ids. According to the documentation on i18n the placeholder should start with a %, but not end with one.
I am not sure whether this is the cause of the problem but I assume that in your translation the ending % sign was added by mistake so the automatic replacement with the true value does not take place. To check that have a look at your translation.ts and search for a translation where the problem occurs. If the original text has only the %sign only at the beginning of a word but your translation has it also at the end, just delete it there. A nice regular expression should help you replacing all such occurrences in the whole file.

Greetings from Luxembourg

Claudia

Radek Kuchta

Tuesday 19 September 2006 2:09:37 am

Hi Claudia

The main language is Polish.
I've located the reason. This is extension "tipafriend". When I turn off that extention in administration panel then everything is ok. But it isn't the solution - I would like to use that extention, so I have still the same problem with %name% :(
This extention is using i18n("design/base") translations but I have no idea where is the reason.

any idea ?

http://ez.no/certification/verify/272582

Claudia Kosny

Tuesday 19 September 2006 10:31:50 am

Hello Radek

Unfortunately it looks like I cannot help you there. I have tried the default Polish translation with EZ 3.8.3 and it looks ok. I am also not sure what you mean by tipafriend extension. As far as I know the tipafriend functionality is not an extension but built into EZ which cannot be disabled (although you certainly can deny access to it, it is still there).

Try whether the same occurs using eg French or another well translated language. If yes, there are most likely some templates which you extension provides overrides for and these templates are faulty. So have a look at these templates (if there are any) in the folder of your extension and check the places where i18n is used.
If the problem is restricted to Polish I am stumped - you might try a different translation file (either from an older ez version por from the contributions. Apart from that I have no idea what to do...

Good luck with debugging

Claudia

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

Main resources:

Total runtime1.0085 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.1484152.6250
Module start 'layout' 0.00560.0029 741.773439.4453
Module start 'content' 0.00850.9986 781.2188549.8516
Module end 'content' 1.00710.0014 1,331.070312.1719
Script end 1.0084  1,343.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3478160.0002
Check MTime0.00140.1403160.0001
Mysql Total
Database connection0.00070.067510.0007
Mysqli_queries0.944293.6239600.0157
Looping result0.00080.0802580.0000
Template Total0.966695.920.4833
Template load0.00200.197120.0010
Template processing0.964695.654120.4823
Template load and register function0.00050.048610.0005
states
state_id_array0.00360.360810.0036
state_identifier_array0.00190.191120.0010
Override
Cache load0.00160.1635280.0001
Sytem overhead
Fetch class attribute can translate value0.00340.334220.0017
Fetch class attribute name0.00080.079650.0002
XML
Image XML parsing0.00380.372520.0019
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00360.3585160.0002
String conversion0.00000.000740.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs