Zen Cart Logo
Forums / Basic Configuration / Need help for language files with UTF-8

Need help for language files with UTF-8

Locked

Views: 4,937

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
29 Sep 2007, 3:48 PM
#1
jppp avatar

jppp

New Zenner

Join Date:
Sep 2007
Posts:
15
Plugin Contributions:
0

Need help for language files with UTF-8

:oops: 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

29 Sep 2007, 3:57 PM
#2
jppp avatar

jppp

New Zenner

Join Date:
Sep 2007
Posts:
15
Plugin Contributions:
0

Re: Need help for language files with UTF-8

:oops: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

29 Sep 2007, 5:37 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Need help for language files with UTF-8

UTF-8 is most likely not what you want if using a foreign language

1 Oct 2007, 4:46 AM
#4
jppp avatar

jppp

New Zenner

Join Date:
Sep 2007
Posts:
15
Plugin Contributions:
0

Re: Need help for language files with UTF-8

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

Thanks,
JPPP