Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    red flag Language problem

    I just upload a Turkish Language Pack to www.promelon.com

    If you check the site you will see the Turkish Characters (ö,ç,ş,ı,ğ,ü)

    But when I try to add a product which contains one of these characters, it just doesnt save the first Turkish Character and the rest of the remaing word.

    For Example if I want to add a product name "Türkçe" it saves it as "T"

    I search through the forums and as a result I change the language character on phpmyadmin from "UTF8_unicode_ci" to many other options but none of them works.

    Also, code in language file (named "Turkish") which is located in /public_html/includes/languages reads as:

    @setlocale(LC_TIME, 'TR.ISO_8859-9');


    I cant figure out whats wrong!

    Thanks in advance...

    Chris

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Language problem

    What is your DB_CHARSET value (in your admin's includes/configure.php file)?

  3. #3
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    Default Re: Language problem

    define('DB_CHARSET', 'utf8');

  4. #4
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    Default Re: Language problem

    CONFIG.PHP
    define('DB_CHARSET', 'utf8');



    PHP MY ADMIN
    General Settings
    MySQL connection collation :

    UTF8_unicode_ci


    UNDER THE DATABASE
    Collation:

    UTF8_unicode_ci

  5. #5
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    Default Re: Language problem

    any idea?

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: Language problem

    Sorry, been busy! The problem is that your language file is setting the charset to iso-8859-9 instead of utf8. Try changing

    @setlocale(LC_TIME, 'TR.ISO_8859-9');

    to

    @setlocale(LC_TIME, 'tr_TR.UTF-8');

  7. #7
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    Default Re: Language problem

    same no difference...

  8. #8
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Language problem

    Quote Originally Posted by runoka View Post
    same no difference...
    A couple more things to "try"... not sure if they will help...
    1) Disable any "html editor". I've seen the "html editors" sometimes try to automatically convert / change characters.

    2) Change the generation of the "form" element for products to include the "accept-charset" attribute. This is something I set on most of my international websites - to tell the browser to send the input encoded using the UTF-8 character set.

    Code:
    Example:
    
    <form accept-charset="utf-8">
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  9. #9
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    Default Re: Language problem

    no luck!

  10. #10
    Join Date
    May 2008
    Location
    Orlando, FL
    Posts
    94
    Plugin Contributions
    0

    Default Re: Language problem

    any other idea?
    www.promelon.com

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Language Problem
    By Rasyr in forum General Questions
    Replies: 0
    Last Post: 2 Aug 2010, 03:56 PM

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