Translating names of classes and class attributes

Author Message

Softriva .com

Thursday 04 January 2007 5:29:52 am

I tried to implement this feature in 3.9 by

php update/common/scripts/3.9/updateclasstranslations.php -s example --language=eng-GB

However, I got classes names as follows

 a:2:{s:16:"always-available";s:6:"ara-SA";s:6:"ara-SA";s:13:"Template look";}

Where does the script gets the translations?

How to implement this feature? Is there a prerequisites that I need to do before running the aforementioned script?

Thank you

OOzy

Kristof Coomans

Thursday 04 January 2007 6:29:36 am

Hi OOzy

You probably ran the script more than once. Try my contribution to fix the problem: http://ez.no/community/contribs/hacks/fix_class_translations

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 01:03:18
Script start
Timing: Jan 20 2025 01:03:18
Module start 'layout'
Timing: Jan 20 2025 01:03:18
Module start 'content'
Timing: Jan 20 2025 01:03:18
Module end 'content'
Timing: Jan 20 2025 01:03:18
Script end

Main resources:

Total runtime0.0208 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.0056 589.4063152.6563
Module start 'layout' 0.00560.0033 742.062539.5078
Module start 'content' 0.00890.0100 781.570389.4297
Module end 'content' 0.01890.0019 871.000030.3047
Script end 0.0208  901.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002411.3988140.0002
Check MTime0.00104.8572140.0001
Mysql Total
Database connection0.00083.987010.0008
Mysqli_queries0.002913.779330.0010
Looping result0.00000.076710.0000
Template Total0.00157.410.0015
Template load0.00083.644610.0008
Template processing0.00083.760310.0008
Override
Cache load0.00052.497310.0005
General
dbfile0.004722.662480.0006
String conversion0.00000.046940.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