Forums / Setup & design / Hungarian translation error (characters: ő, ű)?

Hungarian translation error (characters: ő, ű)?

Author Message

Zoltan Szappanos

Monday 07 April 2003 5:45:37 am

Question 1:
- Translating to hungarian after eZLinguist, some in the space of some characters there is a '?' mark. These charachters are: 'ő'=letter o with double acute , 'ű'=letter u with double acute.

Question 2:
- Similar problem, but it happens when writing something in eZP3 to a textbox (XML text) then saving it and the output of the former 2 letter looks like this: 'ő'=&#337, 'ű'=&#369

Question 3:
- When changing the cache directory of my own site in site.ini my images disappear (SiteAcces/site.ini [FileSettings]
StorageDir=mydesign/storage
CacheDir=mydesign/cache)

Jan Borsodi

Tuesday 08 April 2003 2:16:28 am

Q1:
The characters you entered are not part of the iso-8859-1 (latin1) charset which is the default setup for eZ publish. You will have to choose another charset in the settings/i18n.ini file, for instance use UTF8.

Q2:
Currently eZ publish doesn't handle input like this properly without having Unicode on, do as with Q1 and choose UTF8.

Q3:
You have to move the var/storage directory to the var/mydesign/storage, when changing storage dir. If not the images won't be found in the new path.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Zoltan Szappanos

Wednesday 09 April 2003 1:25:06 am

Thanks, it really worked (i used iso-8859-2). However i have another question. If i set Charset=iso-8859-2 in i18.ini and in site.ini then if i am right i don't have to set charset in template files ({*?template charset=iso-8859-2?*}).

And another question: i have the following error in debug after loading ezxmltext.tpl:

Notice: Apr 09 2003 10:20:00
eZTemplate: Loading template "content/datatype/view/ezxmltext.tpl" with resource "design"

Error: eZTextCodec Apr 09 2003 10:20:00
Cannot create textcodec from characterset iso-8859-1 to characterset iso-8859-2

eZ debug

Timing: Jan 18 2025 02:17:23
Script start
Timing: Jan 18 2025 02:17:23
Module start 'content'
Timing: Jan 18 2025 02:17:25
Module end 'content'
Timing: Jan 18 2025 02:17:27
Script end

Main resources:

Total runtime4.0514 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0134 587.8594180.8125
Module start 'content' 0.01342.4326 768.6719543.3125
Module end 'content' 2.44601.6054 1,311.9844332.7578
Script end 4.0514  1,644.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.1173210.0002
Check MTime0.00160.0399210.0001
Mysql Total
Database connection0.00110.026110.0011
Mysqli_queries2.838270.05311940.0146
Looping result0.00320.07981920.0000
Template Total3.995298.621.9976
Template load0.00180.043820.0009
Template processing3.993498.566821.9967
Template load and register function0.00050.012010.0005
states
state_id_array0.00210.052810.0021
state_identifier_array0.00240.059920.0012
Override
Cache load0.00150.0372280.0001
Sytem overhead
Fetch class attribute can translate value0.00300.074530.0010
Fetch class attribute name0.00180.045140.0005
XML
Image XML parsing0.00100.025630.0003
class_abstraction
Instantiating content class attribute0.00000.000340.0000
General
dbfile0.00690.1700280.0002
String conversion0.00000.000330.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs