Forums / Install & configuration / "Edit in" - error

"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