Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2007
    Posts
    15
    Plugin Contributions
    0

    red flag Need help for language files with UTF-8

    Hello,

    I've been set up the zen cart in Thai. Everything works fine. I've used UTF-8 for my mysql database and changed 'CHARSET' to 'UTF-8'. I've tried to change texts in languages files; for example, I want to change "Name" in Contact us page into Thai language. I edited the file "contact_us.php" in /includes/languages/thai from "define('ENTRY_NAME', 'Name:')" to "define('ENTRY_NAME', '<word in thai>:'). When I open the Contact us page, this word came out in unreadable texts. I also added this line "define('CHARSET', 'UTF-8');" at the beginning of contact_us.php. But it didn't work. Anyone can help me with this?

    Thanks,
    JPPP

  2. #2
    Join Date
    Sep 2007
    Posts
    15
    Plugin Contributions
    0

    bug Problem about language files and UTF-8

    Hello,

    I've installed the zen cart v. 1.3.7 and used it in Thai. Everything works fine. I've set up my mysql database using UTF-8 and defined my pages by changing character set into 'CHARSET', 'UTF-8'. However, if I tried to change NAVBAR_TITLE or HEADING_TITLE in language files (includes/languages/thai/...), they can't be read. They comes out in unreadable texts. Anyone can help me with this...

    Thanks,
    JPPP

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Problem about language files and UTF-8

    UTF-8 is most likely not what you want if using a foreign language
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Sep 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: Need help for language files with UTF-8

    If I want to use in Thai. What CHARSET should I use?

    Thanks,
    JPPP

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Need help for language files with UTF-8

    Quote Originally Posted by jppp View Post
    If I want to use in Thai. What CHARSET should I use?

    Thanks,
    JPPP
    I just searched Google for "Thai Charset" and these results came up ... not sure if it helps:
    http://czyborra.com/charsets/iso8859.html#ISO-8859-11
    http://www.langbox.com/codeset/tis620.html
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 5 Dec 2013, 02:08 AM
  2. Need detailed help with comparing and merging override files with winmerg
    By AirsoftOutfitter in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 31 Aug 2010, 07:52 AM
  3. Need help with gateway files
    By xen_namgyal in forum Addon Payment Modules
    Replies: 1
    Last Post: 9 Mar 2007, 01:14 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