Zen Cart Logo
Forums / General Questions / I have problem with words

I have problem with words

Locked

Views: 881

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
13 Oct 2008, 10:19 AM
#1
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

I have problem with words

look this link

http://www.trickid.co.il/shop/index....ex&language=he
at right have categorys - word in hebrew but with ascii
why the hebrew word change to ascii ?!

maybe i need change somthing in db or admin ?

and how can i move the name of categorys in box to right ( now the names in left)

Thank you.

13 Oct 2008, 10:55 AM
#2
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: I have problem with words

the words i see like this -
קלוז
קסמי

i need this words
קלוז אפ
קסמים

when i add the categorys at admin
they change to ascii words ,
maybe no have support with hebrew ?
what i need add to fix ?

Thank you

13 Oct 2008, 3:02 PM
#3
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: I have problem with words

// Global entries for the <html> tag
define('HTML_PARAMS','dir="rtl" lang="he"');

the code is for right box table but not for the words
how i make to words right in box table ?

how can i make to add name categorys in hebrew without ascii
maybe need change somthing in db ?

Thank you

13 Oct 2008, 5:51 PM
#4
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: I have problem with words

// look in your $PATH_LOCALE/locale directory for available locales..
// on RedHat try 'en_US'
// on FreeBSD try 'en_US.ISO_8859-1'
// on Windows try 'en', or 'English'
@setlocale(LC_TIME, 'he_IL');
define('DATE_FORMAT_SHORT', '%d/%m/%Y');  // this is used for strftime()
define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
define('DATE_FORMAT', 'd/m/Y'); // this is used for date()
define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

////
// Return date in raw format
// $date should be in format mm/dd/yyyy
// raw date is in format YYYYMMDD, or DDMMYYYY
function zen_date_raw($date, $reverse = false) {
  if ($reverse) {
    return substr($date, 0, 2) . substr($date, 3, 2) . substr($date, 6, 4);
  } else {
    return substr($date, 6, 4) . substr($date, 3, 2) . substr($date, 0, 2) ;
  }
}

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
define('LANGUAGE_CURRENCY', 'NIS');

// Global entries for the <html> tag
define('HTML_PARAMS','dir="rtl" lang="he"');

// charset for web pages and emails
define('CHARSET', 'windows-1255');

what the problem ? why the words is left in box tables ?