Zen Cart Logo
Forums / Addon Language Packs / Thai Language issue

Thai Language issue

Views: 2,472

Results 1 to 3 of 3
16 Jan 2013, 10:56 AM
#1
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

Thai Language issue

Hi,

I hope someone can help me. I am working on https://www.casino.betparagon.com, using version 1.3.9 h. I seem to be hitting brick walls trying to create a 2 language site. Everything seems to work fine for English, but the Thai version gives lots of problems.

  1. If you go to Withdraw at the top, it brings you to a page where you can select products (http://www.casino.betparagon.com/index.php?main_page=index&cPath=1&language=en). You can add a product here to the cart. However, if you change the language to Thai, and then try and add a product to the cart, you get a blank screen. If I use the English version and add something to the cart, and once the cart is displayed change the language to Thai, the cart displays in Thai. How can I fix this?

  2. On the FAQ page, http://www.casino.betparagon.com/index.php?main_page=faq, all looks well. The moment you change to Thai, the text goes over the right hand side. How can I fix this?

  3. In my header, my log in, currency selection and menu shows fine, the moment you select Thai all falls apart.

I have converted the site and my database to UTF-8, checked all files with Notepad++ to ensure it is encoded in UTF-8 without BOM.

Any help here will be greatly appreciated!

Barend

19 Jan 2013, 1:41 PM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Thai Language issue

barendfaber:

Hi,

I hope someone can help me. I am working on www.casino.betparagon.com, using version 1.3.9 h. I seem to be hitting brick walls trying to create a 2 language site. Everything seems to work fine for English, but the Thai version gives lots of problems.

I've taken a look at your site, and have spotted the cause for at least on of your problems. I suspect the others will have a similar cause.

My observation: If you add a product to the cart, and view the shopping_cart page, it looks fine in English, but badly formatted in Thai. The reason for this bad formatting is due to the text
"You may want to add some instructions for using the shopping cart here. (defined in includes/languages/english/shopping_cart.php)"

The text string doesn't wrap, which is making the table that follows wider than the English version, which is playing havoc with your .css

This is suggesting that you probably have a file
includes/languages**/thai**/shopping_cart.php that still contains the original English text. It also suggests that you've already edited the original includes/languages/english/shopping_cart.php to remove this text.

Hopefully this is of some help.

Cheers
Rod

21 Jan 2013, 9:37 AM
#3
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

Re: Thai Language issue

Hi Rod,

Thanks for the reply. I had to convert my entire site as well as all add ons to UTF-8 and re-upload the site fresh, changed the database, and edited the language files on my local pc and re-uploaded. Now the site seem to have stabilised. It has turned out to be a huge task and head ache trying to have a site in Thai!

B