Results 1 to 10 of 23

Hybrid View

  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
    13,913
    Plugin Contributions
    96

    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
    13,913
    Plugin Contributions
    96

    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');

 

 

Similar Threads

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

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