monokou Posted September 1, 2011 Share Posted September 1, 2011 Hello, i am working with os commerce v2.2 . I have uploaded greek language but! on categories it shows for me ενδυμ why is that? how can I fix it? is there any code to add or change in any php?thank you a lot! Quote Link to comment Share on other sites More sharing options...
monokou Posted October 19, 2011 Author Share Posted October 19, 2011 Hello, even though noone answered me about the above question.. I'll give it a try with another problem... I have installed the osc 2.3.1... I have the greek language utf8... BUT in boxes the greek words don t appear and I see just ??????? I have enlarge the box via varchar but nothing happened... what is going wrong??? please help me so I can continue my work... Thank you... Quote Link to comment Share on other sites More sharing options...
monokou Posted October 19, 2011 Author Share Posted October 19, 2011 does anyone know something about it??? please... I need your help.. Quote Link to comment Share on other sites More sharing options...
♥multimixer Posted October 19, 2011 Share Posted October 19, 2011 The issue appear on some infoboxes. Check if the correspoding language file is encoded in utf-8 itself ps χαλαρωσε φιλε, απεργια σημερα Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
monokou Posted October 19, 2011 Author Share Posted October 19, 2011 thanks a lot george... I'll check it... ps.. χαχαχα καλο.. Quote Link to comment Share on other sites More sharing options...
monokou Posted October 19, 2011 Author Share Posted October 19, 2011 basically, what do you mean... I didn't get it.. Quote Link to comment Share on other sites More sharing options...
PLUGGER Posted October 23, 2011 Share Posted October 23, 2011 Hello, i am working with os commerce v2.2 . I have uploaded greek language but! on categories it shows for me ενδυμ why is that? how can I fix it? is there any code to add or change in any php?thank you a lot! check your database fields (check the length of chars allowed) if it seems like its cutting off the last couple of chars then you need to increase the field char size in the database and like george (mutlimixer) says, make sure if your editing files with an editor that they are saved at UTF8 ( i suggest dreamweaver personally) something that might help aswell this is my includes/languages/greek.php language file // look in your $PATH_LOCALE/locale directory for available locales // or type locale -a on the server. @setlocale(LC_TIME, 'el_GR.UTF8'); mb_internal_encoding("UTF-8"); 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 tep_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', 'EUR'); // Global entries for the <html> tag define('HTML_PARAMS','dir="LTR" lang="el"'); // charset for web pages and emails define('CHARSET', 'UTF-8'); i have @setlocale(LC_TIME, 'el_GR.UTF8'); mb_internal_encoding("UTF-8"); at the top as you can see and i have never had a problem with Greek chars Quote If it don't fit - Get a bigger hammer Link to comment Share on other sites More sharing options...
Evita Politi Posted April 10, 2012 Share Posted April 10, 2012 Goodmorning, I have a similar problem with greek characters in categories box. I am placing a link to my site to see what I get in Greek language. http://www.ora-anastasio.gr/index.php?language=el please tell me if there is a way to fix this? Ps. This happened after I have moved my site in a different host. Thank you in advance for any help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.