Change the messagesystem

Author Message

Jan Baelemans

Thursday 01 November 2007 3:08:36 am

Hi, I want to make a suggestion to change the messagesystem, anyway the way it is used.
I had created a phrasefile with QT linguist for the 3.9 version of eZ Publish. I am implementing some sites under php 5, so at first I used the fork of Kristoff. Now I was delighted to see the alpha version of eZ getting ready for the php5 environment. However still an alpha-version I did several implementations of the new version. But, using the phrase-file I created for version 3.9, suddenly my translation missed about 10% of the phrases. They were not translated, however suggestions where available, but means a lot of work to check them using QT linguist. And I was pretty sure that I had translated these messages for version 3.9. Was there a change of functionality? 10% of the package?. No. eZ has made some minor changes in the messages, but making my translations useless. I wish was changed to I want, eZ publish was changed to eZ Publish and so on. But I already discovered that a lot of messages were actual clones of each other, but used in a different template, thus having a different context. Or missing a period or something like that. And messages having spellingmistakes where changed, some for the better, some for the worst.
Why not using a message system with the actual message being a number and short desription, and allow homemade translation not to fail if an english message is corrected? Pherhaps the chinese or spanish translation was correct.
And allowing different kinds of the same initial languages (Australian: Hi mate, American : Hi pal, English: Goodmorning dear friend) or different groups (some search, others want to find). If now the message is changed for spelling reasons, the translation failes. And doesn't or does not or doesnot Ez want content seperated from the layout and pherhaps the system itself?
And try not to let the messages sound asif we are retarted morons. Imagine wat would happen if your car or phone starts to act as eZ Publish (Are you sure? Do you really want to do this, take a left turn, be aware the road is not well and may damage your car...)
And don't or do not use layout features (spaces and linefeeds) in the messages. They are very difficult to translate, meaning they do not appear in the final ts-file when using QT-software.

But in essence it is a very great system, no doubt about that!
Jan Baelemans

André R.

Thursday 01 November 2007 7:35:45 am

The translation changes you talk about where part of eZ Publish 3.10, and where announced a couple of times.

You can read more about it here:
http://ez.no/developer/news/new_ez_publish_3_10_translation_files_available
http://ez.no/developer/news/community_newsletter_13_21st_september_2007
http://issues.ez.no/IssueView.php?Id=11451&activeItem=18

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 30 2025 21:15:17
Script start
Timing: Jan 30 2025 21:15:17
Module start 'layout'
Timing: Jan 30 2025 21:15:17
Module start 'content'
Timing: Jan 30 2025 21:15:17
Module end 'content'
Timing: Jan 30 2025 21:15:17
Script end

Main resources:

Total runtime0.0252 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.1328151.2109
Module start 'layout' 0.00510.0041 739.3438220.6875
Module start 'content' 0.00920.0144 960.0313997.7891
Module end 'content' 0.02360.0015 1,957.820333.9922
Script end 0.0251  1,991.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.3300140.0002
Check MTime0.00114.1760140.0001
Mysql Total
Database connection0.00072.811210.0007
Mysqli_queries0.00239.287430.0008
Looping result0.00000.052110.0000
Template Total0.00114.210.0011
Template load0.00083.251910.0008
Template processing0.00020.962010.0002
Override
Cache load0.00052.155310.0005
General
dbfile0.002911.538580.0004
String conversion0.00000.026540.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