Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32
  1. #1
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default costumer account reg. email sent in two languages but not the third

    Hi All!

    Making trial registrations and everything goes fine with english and german. Costumer registers
    gets email about his/her account, welcome and everything.
    But in hungarian no email is sent.
    Can the problem be in some of the php files? Or in admin?

    Thanks in advance

    Nandor

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,494
    Plugin Contributions
    88

    Default Re: costumer account reg. email sent in two languages but not the third

    Is there an /email/xx directory (where xx is the 2-letter code for Hungarian) containing your Hungarian email templates? Are there any debug log files in your /cache folder?

  3. #3
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default Re: costumer account reg. email sent in two languages but not the third

    Quote Originally Posted by lat9 View Post
    Is there an /email/xx directory (where xx is the 2-letter code for Hungarian) containing your Hungarian email templates? Are there any debug log files in your /cache folder?

    Hello!

    i checked the log files and the last ones are from 8th march. This email issue is from yesterday. I mean i tried the trial registrations yesterday in all three
    languages. So there is nothing there about this welcome email issue.

    By email directory did you mean like includes/languages/hungarian/email extras.php?

    Or where should i look for this? Sorry for not knowing right away.....

    thanks in advance

    Nandor

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,494
    Plugin Contributions
    88

    Default Re: costumer account reg. email sent in two languages but not the third

    nandor, there should be a directory named /email at the same level within your store's directory structure as the /images directory. That directory will contain the default/english templates and then have two subdirectories /email/de for your German email templates and /email/xx for your Hungarian email templates ... even if the files are identical inside each subdirectory.

  5. #5
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default Re: costumer account reg. email sent in two languages but not the third

    Quote Originally Posted by lat9 View Post
    nandor, there should be a directory named /email at the same level within your store's directory structure as the /images directory. That directory will contain the default/english templates and then have two subdirectories /email/de for your German email templates and /email/xx for your Hungarian email templates ... even if the files are identical inside each subdirectory.
    i have found it but there are only html and image files in there. Can this be the reason why no hungarian reg. welcome emails are sent out? Then why are english and german emails sent?
    made two screenshots:


    Click image for larger version. 

Name:	email dir.jpg 
Views:	56 
Size:	83.1 KB 
ID:	12186

    Click image for larger version. 

Name:	files in email dir.jpg 
Views:	54 
Size:	82.6 KB 
ID:	12187

    thanks in advance

    Nandor

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,494
    Plugin Contributions
    88

    Default Re: costumer account reg. email sent in two languages but not the third

    Nandor, I just found your other thread (http://www.zen-cart.com/showthread.p...o-works-fine); I'm guessing that these two issues are related. Would you post back the contents of your /includes/languages/english.php, /includes/languages/german.php and /includes/languages/hungarian.php files, showing the following information:
    Code:
    // 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, 'en_US.ISO_8859-1');
      define('DATE_FORMAT_SHORT', '%m/%d/%Y');  // this is used for strftime()
      define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
      define('DATE_FORMAT', 'm/d/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
      if (!function_exists('zen_date_raw')) {
        function zen_date_raw($date, $reverse = false) {
          if ($reverse) {
            return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
          } else {
            return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 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', 'USD');
    
    // Global entries for the <html> tag
      define('HTML_PARAMS','dir="ltr" lang="en"');
    
    // charset for web pages and emails
      define('CHARSET', 'iso-8859-1');
    and then also the contents of the same three filenames in the /YOUR_ADMIN/includes/includes/languages directory:
    Code:
    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat6.0 I used 'en_US'
    // on FreeBSD 4.0 I use 'en_US.ISO_8859-1'
    // this may not work under win32 environments..
    setlocale(LC_TIME, 'en_US.ISO_8859-1');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y');  // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
    define('DATE_FORMAT_SPIFFYCAL', 'MM/dd/yyyy');  //Use only 'dd', 'MM' and 'yyyy' here in any order
    
    ////
    // 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, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
      } else {
        return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
      }
    }
    
    // removed for meta tags
    // page title
    //define('TITLE', 'Zen Cart');
    
    // include template specific meta tags defines
      if (file_exists(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir . '/meta_tags.php')) {
        $template_dir_select = $template_dir . '/';
      } else {
        $template_dir_select = '';
      }
      require(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'meta_tags.php');
    
    // meta tags
    define('ICON_METATAGS_ON', 'Meta Tags Defined');
    define('ICON_METATAGS_OFF', 'Meta Tags Undefined');
    define('TEXT_LEGEND_META_TAGS', 'Meta Tags Defined:');
    define('TEXT_INFO_META_TAGS_USAGE', '<strong>NOTE:</strong> The Site/Tagline is your defined definition for your site in the meta_tags.php file.');
    
    // Global entries for the <html> tag
    define('HTML_PARAMS','dir="ltr" lang="en"');
    
    // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');
    There's an inconsistency between the character sets your store is using for English and German when compared to Hungarian. Would you also let us know what version of PHP your store is running?

  7. #7
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default Re: costumer account reg. email sent in two languages but not the third

    Quote Originally Posted by lat9 View Post
    Nandor, I just found your other thread (http://www.zen-cart.com/showthread.p...o-works-fine); I'm guessing that these two issues are related. Would you post back the contents of your /includes/languages/english.php, /includes/languages/german.php and /includes/languages/hungarian.php files, showing the following information:
    Code:
    // 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, 'en_US.ISO_8859-1');
      define('DATE_FORMAT_SHORT', '%m/%d/%Y');  // this is used for strftime()
      define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
      define('DATE_FORMAT', 'm/d/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
      if (!function_exists('zen_date_raw')) {
        function zen_date_raw($date, $reverse = false) {
          if ($reverse) {
            return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
          } else {
            return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 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', 'USD');
    
    // Global entries for the <html> tag
      define('HTML_PARAMS','dir="ltr" lang="en"');
    
    // charset for web pages and emails
      define('CHARSET', 'iso-8859-1');
    and then also the contents of the same three filenames in the /YOUR_ADMIN/includes/includes/languages directory:
    Code:
    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat6.0 I used 'en_US'
    // on FreeBSD 4.0 I use 'en_US.ISO_8859-1'
    // this may not work under win32 environments..
    setlocale(LC_TIME, 'en_US.ISO_8859-1');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y');  // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
    define('DATE_FORMAT_SPIFFYCAL', 'MM/dd/yyyy');  //Use only 'dd', 'MM' and 'yyyy' here in any order
    
    ////
    // 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, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
      } else {
        return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
      }
    }
    
    // removed for meta tags
    // page title
    //define('TITLE', 'Zen Cart');
    
    // include template specific meta tags defines
      if (file_exists(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir . '/meta_tags.php')) {
        $template_dir_select = $template_dir . '/';
      } else {
        $template_dir_select = '';
      }
      require(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'meta_tags.php');
    
    // meta tags
    define('ICON_METATAGS_ON', 'Meta Tags Defined');
    define('ICON_METATAGS_OFF', 'Meta Tags Undefined');
    define('TEXT_LEGEND_META_TAGS', 'Meta Tags Defined:');
    define('TEXT_INFO_META_TAGS_USAGE', '<strong>NOTE:</strong> The Site/Tagline is your defined definition for your site in the meta_tags.php file.');
    
    // Global entries for the <html> tag
    define('HTML_PARAMS','dir="ltr" lang="en"');
    
    // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');
    There's an inconsistency between the character sets your store is using for English and German when compared to Hungarian. Would you also let us know what version of PHP your store is running?

    Thanks for your prompt reply!

    here are the infos:


    english:
    // 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, 'en_US.UTF-8');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');


    german:
    // 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, 'de_DE.ISO_8859-1'); geändert von MaleBorg
    @setlocale(LC_TIME, 'de_DE.UTF-8', 'de_AT.UTF-8', 'de_CH.UTF-8', 'de_DE.ISO_8859-1','de_DE@euro', 'de_DE', 'de', 'ge', 'deu.deu');
    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');

    hungarian:
    // 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, 'hu_HU.UTF-8');
    define('DATE_FORMAT_SHORT', '%Y/%m/%d'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%Y %B %d, %A'); // this is used for strftime()
    define('DATE_FORMAT', 'Y/m/d'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

    Click image for larger version. 

Name:	névtelen.jpg 
Views:	41 
Size:	82.9 KB 
ID:	12189

  8. #8
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default Re: costumer account reg. email sent in two languages but not the third

    Quote Originally Posted by Nandor View Post
    Thanks for your prompt reply!

    here are the infos:


    english:
    // 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, 'en_US.UTF-8');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');


    german:
    // 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, 'de_DE.ISO_8859-1'); geändert von MaleBorg
    @setlocale(LC_TIME, 'de_DE.UTF-8', 'de_AT.UTF-8', 'de_CH.UTF-8', 'de_DE.ISO_8859-1','de_DE@euro', 'de_DE', 'de', 'ge', 'deu.deu');
    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');

    hungarian:
    // 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, 'hu_HU.UTF-8');
    define('DATE_FORMAT_SHORT', '%Y/%m/%d'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%Y %B %d, %A'); // this is used for strftime()
    define('DATE_FORMAT', 'Y/m/d'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

    Click image for larger version. 

Name:	névtelen.jpg 
Views:	41 
Size:	82.9 KB 
ID:	12189

    these are from admin english :
    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat6.0 I used 'en_US'
    // on FreeBSD 4.0 I use 'en_US.ISO_8859-1'
    // this may not work under win32 environments..
    setlocale(LC_TIME, 'en_US.ISO_8859-1');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
    define('DATE_FORMAT_SPIFFYCAL', 'MM/dd/yyyy'); //Use only 'dd', 'MM' and 'yyyy' here in any order


    german
    // 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, 'de_DE.ISO_8859-1'); geändert von MaleBorg
    @setlocale(LC_TIME, 'de_DE.UTF-8', 'de_AT.UTF-8', 'de_CH.UTF-8', 'de_DE.ISO_8859-1','de_DE@euro', 'de_DE', 'de', 'ge', 'deu.deu');
    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');

    hungarian
    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat6.0 I used 'en_US'
    // on FreeBSD 4.0 I use 'en_US.ISO_8859-1'
    // this may not work under win32 environments..
    setlocale(LC_TIME, 'en_US.ISO_8859-1');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
    define('DATE_FORMAT_SPIFFYCAL', 'MM/dd/yyyy'); //Use only 'dd', 'MM' and 'yyyy' here in any order

    hope this will tell something...

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,494
    Plugin Contributions
    88

    Default Re: costumer account reg. email sent in two languages but not the third

    Nandor, for each of the six files please also let us know what the CHARSET definition is ...

  10. #10
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default Re: costumer account reg. email sent in two languages but not the third

    Quote Originally Posted by lat9 View Post
    Nandor, for each of the six files please also let us know what the CHARSET definition is ...
    includes/languages/english.php:

    // 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, 'en_US.UTF-8');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/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
    if (!function_exists('zen_date_raw')) {
    function zen_date_raw($date, $reverse = false) {
    if ($reverse) {
    return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
    } else {
    return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 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', 'USD');

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

    // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');

    // footer text in includes/footer.php
    define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since');

    // Define the name of your Gift Certificate as Gift Voucher, Gift Certificate, Zen Cart Dollars, etc. here for use through out the shop
    define('TEXT_GV_NAME','Gift Certificate');
    define('TEXT_GV_NAMES','Gift Certificates');


    includes/languages/german.php:

    define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href="http://www.zen-cart.at" target="_blank">Zen Cart</a>. Powered by <a href="http://www.zen-cart.at" target="_blank">Zen Cart</a>');

    // 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, 'de_DE.ISO_8859-1'); geändert von MaleBorg
    @setlocale(LC_TIME, 'de_DE.UTF-8', 'de_AT.UTF-8', 'de_CH.UTF-8', 'de_DE.ISO_8859-1','de_DE@euro', 'de_DE', 'de', 'ge', 'deu.deu');
    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
    if (!function_exists('zen_date_raw')) {
    function zen_date_raw($date, $reverse = false){
    if ($reverse){
    return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
    }else{
    // edit by cyaneo for german Date support - thx to hugo13
    // return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
    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', 'EUR');

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

    // charset for web pages and emails
    define('CHARSET', 'utf-8');

    // footer text in includes/footer.php
    define('FOOTER_TEXT_REQUESTS_SINCE', 'Aufrufe seit');


    includes/languages/hungarian.php:

    define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

    // 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, 'hu_HU.UTF-8');
    define('DATE_FORMAT_SHORT', '%Y/%m/%d'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%Y %B %d, %A'); // this is used for strftime()
    define('DATE_FORMAT', 'Y/m/d'); // 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
    if (!function_exists('zen_date_raw')) {
    function zen_date_raw($date, $reverse = false) {
    if ($reverse) {
    return substr($date, 8, 2) . substr($date, 5, 2) . substr($date, 0, 4);
    } else {
    return substr($date, 0, 4) . substr($date, 5, 2) . substr($date, 8, 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', 'HUF');

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

    // charset for web pages and emails
    define('CHARSET', 'utf-8');


    admin/includes/languages/english.php :

    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat6.0 I used 'en_US'
    // on FreeBSD 4.0 I use 'en_US.ISO_8859-1'
    // this may not work under win32 environments..
    setlocale(LC_TIME, 'en_US.ISO_8859-1');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
    define('DATE_FORMAT_SPIFFYCAL', 'MM/dd/yyyy'); //Use only 'dd', 'MM' and 'yyyy' here in any order

    ////
    // 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, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
    } else {
    return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
    }
    }

    // removed for meta tags
    // page title
    //define('TITLE', 'Zen Cart');

    // include template specific meta tags defines
    if (file_exists(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir . '/meta_tags.php')) {
    $template_dir_select = $template_dir . '/';
    } else {
    $template_dir_select = '';
    }
    require(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'meta_tags.php');

    // meta tags
    define('ICON_METATAGS_ON', 'Meta Tags Defined');
    define('ICON_METATAGS_OFF', 'Meta Tags Undefined');
    define('TEXT_LEGEND_META_TAGS', 'Meta Tags Defined:');
    define('TEXT_INFO_META_TAGS_USAGE', '<strong>NOTE:</strong> The Site/Tagline is your defined definition for your site in the meta_tags.php file.');

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

    // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');


    admin/includes/languages/german.php :

    // 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, 'de_DE.ISO_8859-1'); geändert von MaleBorg
    @setlocale(LC_TIME, 'de_DE.UTF-8', 'de_AT.UTF-8', 'de_CH.UTF-8', 'de_DE.ISO_8859-1','de_DE@euro', 'de_DE', 'de', 'ge', 'deu.deu');
    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
    if (!function_exists('zen_date_raw')) {
    function zen_date_raw($date, $reverse = false){
    if ($reverse){
    return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
    }else{
    // edit by cyaneo for german Date support - thx to hugo13
    // return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
    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', 'EUR');

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

    // charset for web pages and emails
    define('CHARSET', 'utf-8');

    admin/includes/languages/hungarian.php :

    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat6.0 I used 'en_US'
    // on FreeBSD 4.0 I use 'en_US.ISO_8859-1'
    // this may not work under win32 environments..
    setlocale(LC_TIME, 'en_US.ISO_8859-1');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
    define('DATE_FORMAT_SPIFFYCAL', 'MM/dd/yyyy'); //Use only 'dd', 'MM' and 'yyyy' here in any order

    ////
    // 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, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
    } else {
    return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
    }
    }

    // removed for meta tags
    // page title
    //define('TITLE', 'Zen Cart');

    // include template specific meta tags defines
    if (file_exists(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir . '/meta_tags.php')) {
    $template_dir_select = $template_dir . '/';
    } else {
    $template_dir_select = '';
    }
    require(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'meta_tags.php');
    //die(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'meta_tags.php');

    // meta tags
    define('ICON_METATAGS_ON', 'Meta Tags Defined');
    define('ICON_METATAGS_OFF', 'Meta Tags Undefined');
    define('TEXT_LEGEND_META_TAGS', 'Meta Tags Defined:');
    define('TEXT_INFO_META_TAGS_USAGE', '<strong>NOTE:</strong> The Site/Tagline is your defined definition for your site in the meta_tags.php file.');

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

    // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');


    the version infos from the site :

    PHP Version: 5.2.17 (Zend: 2.2.0) PHP Memory Limit: 128M PHP Safe Mode: Off
    Database: MySQL 5.5.28

    as i see in hungarian is once utf once iso-8859-1 - hopefully this or something like this causes both errors? What to do now?

    thanks so much in advance for your help

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Copy of Create Account Email not being sent after switching to Paypal Express
    By Dreamer40 in forum PayPal Express Checkout support
    Replies: 7
    Last Post: 11 Mar 2015, 01:01 AM
  2. v151 Order confirmation email not sent to customers but I get a copy
    By Olet in forum General Questions
    Replies: 1
    Last Post: 13 May 2014, 08:02 PM
  3. v139e Orders not shown in admin, and no email sent to costumer and to admin email
    By Nandor in forum Managing Customers and Orders
    Replies: 26
    Last Post: 5 Mar 2013, 02:48 PM
  4. Wellcome Email, on two languages ?
    By sicness in forum General Questions
    Replies: 1
    Last Post: 18 Jul 2006, 07:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR