I have a web shop with English and Hungarian language. In the Editor the English can handle the Hungarian description with the special Hungarian letters but the Hungarian editor unable to handle these characters. Symbols appear on the website in Hungarian version instead of the letters with accent. I have to change every single Hungarian characters with the relevant HTML code but this takes ages.
I will really appreciate if someone can tell me the solution.
Latest News: (loading..)
My shop can't handle Hungarian characters
Started by Hungarian Wine House, Oct 30 2009, 20:27
7 replies to this topic
#1
Posted 30 October 2009, 20:27
#2
Posted 31 October 2009, 04:42
Hungarian Wine House, on 30 October 2009, 20:27, said:
[...] In the Editor the English can handle the Hungarian description with the special Hungarian letters but the Hungarian editor unable to handle these characters.[...]
What editor do you use? What do you mean with english and hungarian editor?
What I understand is, that when you write the hungarian description into the place where the english text should be, then everything ok, if you write it into the hungarian part, then problem, is it so?
What type of encoding do you use for the hungarian language files?
Looking for a way to create your own osCommerce template ? click
#3
Posted 31 October 2009, 15:45
multimixer, on 31 October 2009, 04:42, said:
What editor do you use? What do you mean with english and hungarian editor?
What I understand is, that when you write the hungarian description into the place where the english text should be, then everything ok, if you write it into the hungarian part, then problem, is it so?
What type of encoding do you use for the hungarian language files?
What I understand is, that when you write the hungarian description into the place where the english text should be, then everything ok, if you write it into the hungarian part, then problem, is it so?
What type of encoding do you use for the hungarian language files?
Yes you are right that's what is the problem. Sorry for the confusion.
I mean editor, where you can create new items or edit the price, name, description of items etc.
I am not sure what do you mean under encoding as a designer company made the whole website.
what I do I copy the Hungarian description and change to HTML code the letters.
These are the letters and codes.
á - á
Á - Á
é - é
É - É
í - í
Í - Í
ó - ó
Ó - Ó
ö - ö
Ö - Ö
ő - ő
Ő - Ő
ú - ú
Ú - Ú
ü - ü
Ü - Ü
ű - ű
Ű - Ű
I don't understand how the english box can handle these letters while the hungarian part don't. One more important thing. This is apply everything in my os commers shop. i.e item name, item description,
You can see an example if you click on the link and look the small sentence under the item description but above the blue button.
http://www.hungarianwinehouse.co.uk/product_info.php?products_id=174&language=HU
#5
Posted 31 October 2009, 16:06
multimixer, on 31 October 2009, 15:54, said:
Can you post the the following lines of your hungarian.php and english.php?
@setlocale(LC_TIME, 'el_GR.utf-8');
.
.
.
.
// charset for web pages and emails
define('CHARSET', 'utf-8');
Is that you look for?
English.php
// charset for web pages and emails
define('CHARSET', 'iso-8859-1');
Hungarian.php
// charset for web pages and emails
define('CHARSET', 'utf-8');
#7
Posted 31 October 2009, 17:01
multimixer, on 31 October 2009, 16:17, said:
Can you post the file includes/languages/hungarian/product_info.php?
Here you are
<?php
/*
$Id: product_info.php,v 1.15 2002/11/19 01:48:08 dgw_ Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright © 2002 osCommerce
Released under the GNU General Public License
*/
define('TEXT_PRODUCT_NOT_FOUND', 'Nem létező termék!');
define('TEXT_CURRENT_REVIEWS', 'Termékismertető:');
define('TEXT_MORE_INFORMATION', 'Ha több információt kÃván megtudni a termékrÅ‘l, látogasson el a gyártó <a href="%s" target="_blank"><u>weboldalára</u></a>.');
define('TEXT_DATE_ADDED', 'Termék beszállÃtási dátuma %s.');
define('TEXT_DATE_AVAILABLE', '<font color="#ff0000">BeszállÃtás alatt van a %s termék.</font>');
define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Ehhez a termékhez az alábbi termékeket vásárolták meg');
define('TEXT_PRODUCT_OPTIONS', 'Opciók:');
define('TEXT_CLICK_TO_ENLARGE', 'Nagyobb kép');
?>














