extension cache

extension cache

Friday 18 July 2003 5:51:47 am - 1 reply

Author Message

Georg Franz

Friday 18 July 2003 12:43:06 pm

Hm. I've found out, that there - might be - a bug in the extension translation system.

I've installed a site with two languages: german / english.

I've installed a small extension and created an extension translation.

In the pagelayout.tpl (and other templates), I use the i18n function to translate my strings, in the extension tpls I use the x18n function.

Sometimes (I don't know under which circumstances) the sites looses it's language information and the whole german site is shown in english. (Maybe it's a cache problem?)

The debug output says, that the "translation.ts" was not found. (I don't know if it means the normal translation.ts or the translation.ts of the extension)

Furthermore, the template creation lasted more than 10 seconds.

Now I've moved the translation of the extension to the normal translation.ts and only use the i18n function to translate the site.

The template load of the extension lasts 0.5 seconds, the translation problem doesn't occur anymore.

So - maybe - there is a bug in the extension translation? (which - furthermore - slow down the system?)

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.