Forums / Suggestions / The idea of values passing between translations !

The idea of values passing between translations !

Author Message

Selmah Maxim

Sunday 13 July 2003 5:35:10 am

Hi ..

I had asked befor .. no way to pass the missing data between the translations, but will be really helpful if we can do this manually when we need it !

Also the alias_url can be done if the default alias_url is the english, just discovered that the language doen`t effect the alias_url, this work for me also with utf8 font :

/he/today/news/some_1_said
/en/today/news/some_1_said
/hu/today/news/some_1_said
/ar/today/news/some_1_said

i geth the artical with the site translation .. but the problem that no way to pass the alias_url to another sites !

Björn [email protected]

Wednesday 16 July 2003 2:11:24 am

Yes this issue is a real need I figured this out too some time before. Google will love to see a german url if it indexes the site.

Besides whats about this issue. I never got an answer back(also urltranslator)!
http://www.ez.no/developer/ez_publish_3/forum/suggestions/urltranslator_error_handling_

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/

Bård Farstad

Wednesday 16 July 2003 2:18:15 am

The url_alias should support translations.

However how should we handle character sets which are not displayable?

One suggestion is to fallback to the node id if the name only contains invalid characters.

E.g.
/fronptage/102/news/mycategory/234

Where 102 and 234 would be the node id's.

--bård

Documentation: http://ez.no/doc

Selmah Maxim

Wednesday 16 July 2003 2:34:18 am

I see ...
But the url alias should be always english, and if the site doesn`t have english language then no url alias will be active.
So the url alias will just take the english topics, for that the value passing between the sites must be supported, I mean what ever is the selected langauge the url alias must be just english, and its work!

Also why I need to upload the same image 4 times (multi langauge site) for each artical, will be great if we can from tempalet to define if a value is missing then get it from another site.

Björn [email protected]

Wednesday 16 July 2003 5:14:43 am

----- from bard
However how should we handle character sets which are not displayable?

One suggestion is to fallback to the node id if the name only contains invalid characters.
------
Well the node id fall back sounds cool.

We could also implement somthing like reasonable character translations e.g.
for the german umlauts (Ä,Ö,Ü) it is common to write AE,OE,UE, if you are not able to write a original umlaut.
This translation could handled over thee local system.

Sample
eng-GB /frontpage/news/mr_muller_has_diaria
ger-DE /frontpagede/neuigkeiten/mr_müller_hat_durchfall (not possible)
ger-DE /frontpagede/neuigkeiten/mr_mueller_hat_durchfall (possible with local alias translation)
ger-DE /frontpagede/neuigkeiten/123 (possible)

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/

Selmah Maxim

Wednesday 16 July 2003 5:37:19 am

what about if each class by default will put empty input for url alias, that user can define the url alias, if he didn`t fill it in then the url alias will be the node id !

btw, its not so important the url alias, becoz content/view/full/id is easy to be memorized, also from rewrite rule can make it more easy.

I think the important is the value passing between the sites !

eZ debug

Timing: Jan 15 2025 06:53:48
Script start
Timing: Jan 15 2025 06:53:48
Module start 'content'
Timing: Jan 15 2025 06:53:49
Module end 'content'
Timing: Jan 15 2025 06:53:50
Script end

Main resources:

Total runtime1.3189 sec
Peak memory usage6,144.0000 KB
Database Queries198

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 684.4844214.7734
Module start 'content' 0.00711.0872 899.25781,896.8359
Module end 'content' 1.09430.2245 2,796.0938641.2891
Script end 1.3188  3,437.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00770.5856210.0004
Check MTime0.00170.1281210.0001
Mysql Total
Database connection0.00070.054010.0007
Mysqli_queries1.211491.84911980.0061
Looping result0.00210.15831950.0000
Template Total1.286597.520.6433
Template load0.00530.398420.0026
Template processing1.281397.148320.6406
Template load and register function0.00150.116910.0015
states
state_id_array0.00110.081910.0011
state_identifier_array0.00120.090420.0006
Override
Cache load0.00490.3678490.0001
Sytem overhead
Fetch class attribute can translate value0.00150.113240.0004
Fetch class attribute name0.00230.174880.0003
XML
Image XML parsing0.00170.131340.0004
class_abstraction
Instantiating content class attribute0.00000.001690.0000
General
dbfile0.00090.0668280.0000
String conversion0.00000.000630.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs