Anyone had luck with extension translation?

Author Message

Björn Dieding@xrow.de

Thursday 22 January 2004 10:35:34 am

Did anynone ever tested the extension translation?
Did it work?

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Eirik Alfstad Johansen

Sunday 25 January 2004 11:50:00 pm

Hi Björn,

Not sure what you mean by the extension translation. Would you care to elaborate?

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Björn Dieding@xrow.de

Monday 26 January 2004 1:29:42 am

referring "string"|x18n

sample

with ezlupadte you are able to create translations of extensions...

the translation files are placed in e.g.

extension/myextension/translation/ger-DE/translation.ts

those files should be used to translate the templates from your extension

I wasn't able yet to get it working

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Eirik Alfstad Johansen

Monday 26 January 2004 1:42:20 am

Hi Björn,

I've also created an extension including a translation which I can't get to work. I'm using the i18n operator, however, since the x18n is deprecated since v. 3.2 (http://ez.no/community/news/ez_publish_32_beta_1_released). Still can't get it to work though.

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Björn Dieding@xrow.de

Monday 26 January 2004 9:53:57 am

I thought the x18n would be a feature ;-)... and nothing deprecated LOL

but still nobody that has done it

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Christian Lundvang

Wednesday 28 January 2004 4:29:09 am

Hi Bjørn.

I've had the same problem. I have an extension called arkiv. The translation for this extension is placed here: extension/arkiv/translations/nor-NO. I'm using the i18n - operator. The reason my extension-translation didn't work was this:

In settings/override/site.ini.append.php, this line needs to be added:

[RegionalSettings]
TranslationExtensions[]=arkiv

Then it worked fine for me :-)

Hope this solved your problem as well.

Best regards, Christian Lundvang

 

--
Best Regards
Christian Lundvang
http://www.nxc.no

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 22:34:16
Script start
Timing: Jan 18 2025 22:34:16
Module start 'layout'
Timing: Jan 18 2025 22:34:16
Module start 'content'
Timing: Jan 18 2025 22:34:16
Module end 'content'
Timing: Jan 18 2025 22:34:16
Script end

Main resources:

Total runtime0.0162 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.0469152.6406
Module start 'layout' 0.00690.0032 740.687539.4766
Module start 'content' 0.01000.0042 780.164197.3672
Module end 'content' 0.01430.0018 877.531338.3047
Script end 0.0161  915.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.2791140.0002
Check MTime0.00116.7014140.0001
Mysql Total
Database connection0.00085.165810.0008
Mysqli_queries0.003924.172530.0013
Looping result0.00000.098810.0000
Template Total0.00159.210.0015
Template load0.00085.043410.0008
Template processing0.00074.083110.0007
Override
Cache load0.00053.142010.0005
General
dbfile0.00031.838080.0000
String conversion0.00000.036940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs