Forums / Suggestions / Change the messagesystem

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

eZ debug

Timing: Jan 30 2025 00:47:40
Script start
Timing: Jan 30 2025 00:47:40
Module start 'content'
Timing: Jan 30 2025 00:47:40
Module end 'content'
Timing: Jan 30 2025 00:47:40
Script end

Main resources:

Total runtime0.2269 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0117 587.9297180.8359
Module start 'content' 0.01170.0112 768.765693.8672
Module end 'content' 0.02290.2039 862.6328527.0781
Script end 0.2269  1,389.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00331.4528200.0002
Check MTime0.00130.5867200.0001
Mysql Total
Database connection0.00080.341110.0008
Mysqli_queries0.179879.23971410.0013
Looping result0.00110.50581390.0000
Template Total0.203589.710.2035
Template load0.00080.367110.0008
Template processing0.202789.319010.2027
Override
Cache load0.00060.242810.0006
Sytem overhead
Fetch class attribute can translate value0.00060.285610.0006
XML
Image XML parsing0.00020.099210.0002
General
dbfile0.00913.9915200.0005
String conversion0.00000.001730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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