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

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 18 2025 04:59:19
Script start
Timing: Jan 18 2025 04:59:19
Module start 'layout'
Timing: Jan 18 2025 04:59:19
Module start 'content'
Timing: Jan 18 2025 04:59:21
Module end 'content'
Timing: Jan 18 2025 04:59:21
Script end

Main resources:

Total runtime1.5126 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 588.0469152.6406
Module start 'layout' 0.00660.0036 740.687539.4922
Module start 'content' 0.01031.5008 780.1797538.2188
Module end 'content' 1.51110.0015 1,318.398412.1094
Script end 1.5126  1,330.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2498160.0002
Check MTime0.00140.0950160.0001
Mysql Total
Database connection0.00100.067410.0010
Mysqli_queries1.457396.3436570.0256
Looping result0.00070.0438550.0000
Template Total1.476097.620.7380
Template load0.00230.154920.0012
Template processing1.473697.422320.7368
Template load and register function0.00020.009910.0002
states
state_id_array0.00100.065410.0010
state_identifier_array0.00110.072220.0005
Override
Cache load0.00200.1290280.0001
Sytem overhead
Fetch class attribute can translate value0.00070.044520.0003
Fetch class attribute name0.00270.179040.0007
XML
Image XML parsing0.00070.044320.0003
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00070.0495170.0000
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs