• Register
Plug-in Tutorial Build an EC-CUBE plug-in

Top Commentators

114

1

EC Mike

SHOGUNSHOGUN

32

2

hrbabu

SAMURAISAMURAI

29

3

Sumant Jha

SAMURAISAMURAI

29

4

justcubed

SAMURAISAMURAI

21

5

Ashok Kafle

SAMURAISAMURAI

21

6

shahith

SAMURAISAMURAI

14

7

Jeemusu

KABUKIKABUKI

14

8

Yangsin

KABUKIKABUKI

9

9

Zaw Hlaing Bwar

GEISYAGEISYA

8

10

Fei Liu

GEISYAGEISYA

Ranking Key

  • FUJISANFUJISAN1,000+ posts
  • SAKURASAKURA500+ posts
  • SHOGUNSHOGUN100+ posts
  • NINJYANINJYA50+ posts
  • SAMURAISAMURAI20+ posts
  • KABUKIKABUKI10+ posts
  • GEISYAGEISYALess than 10 posts

How to display Chinese Characters?

+1 vote

I tried to change the "LANG_CODE" setting from "en_US.UTF-8" to "zh_HK.UTF-8", but it still cannot diplay Chinese Characters correctly, and the setting page menu heading is shown incorrectly as below 



"tpl_Basic information_02", "tpl_Products_01", "tpl_Members_01" etc.
asked 2013-02-19 by Registered user (320 points) KABUKIKABUKI

1 Answer

+1 vote
Samluk,

It seems you on are the right track, but you have to create a zh_HK.po and zh_HK.mo file. If you modify the po file and compile it, you should be able to display your text on the site.

Please let me know if you have any more questions.

Michael

EC-CUBE TEAM
answered 2013-02-19 by EC-CUBE TEAM (310 points) MASTERMASTER
Show 8 previous comments
Samluk, could you please tell me the exact page you are on? Remember, you have to change the text in the PO file (or in some cases the database.) Make sure you do not edit any variables in the text when you change the characters to Chinese.

Thanks
Michael
Is there any method to change all Charater Set in Php Admin?
http://i.imgur.com/D8KJnlg.png
Now I changed all fields from "latin1_swedish_ci" to "utf8_general_ci", it can display Chinese correctly in the shop interface.
However, the "member master" in admin page and E-mail cannot display Chinese correctly, how can I fix them?
Samluk, when you say it isn't displaying correctly, do you mean the translated words are appearing on the page but the character encoding is wrong?  Can you please give me the location of text in the PO file?
Hi Samluk,
I suppose your  MAIL_CHARACTER_CODE parameter is wrong.
You can change this parameter at: System Setting -> Parameter master page.
...