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 15 2025 07:08:28
Script start
Timing: Jan 15 2025 07:08:28
Module start 'content'
Timing: Jan 15 2025 07:08:29
Module end 'content'
Timing: Jan 15 2025 07:08:29
Script end

Main resources:

Total runtime1.1737 sec
Peak memory usage6,144.0000 KB
Database Queries184

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 684.1484214.7969
Module start 'content' 0.00601.0412 898.94531,815.7734
Module end 'content' 1.04720.1265 2,714.7188632.9844
Script end 1.1736  3,347.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00720.6096210.0003
Check MTime0.00150.1261210.0001
Mysql Total
Database connection0.00060.051410.0006
Mysqli_queries1.083692.31931840.0059
Looping result0.00180.15651810.0000
Template Total1.140497.220.5702
Template load0.00450.384820.0023
Template processing1.135996.777620.5679
Template load and register function0.00110.096010.0011
states
state_id_array0.00170.148710.0017
state_identifier_array0.00160.132520.0008
Override
Cache load0.00400.3405190.0002
Sytem overhead
Fetch class attribute can translate value0.00090.080930.0003
Fetch class attribute name0.00210.182240.0005
XML
Image XML parsing0.00230.196830.0008
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00190.1621280.0001
String conversion0.00000.000530.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs