Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Thai Language Pack in configuration don't work


Recommended Posts

I'm not tec but trying to help my son on a Thai / English website all the web front end is working fine in Thai and english

 

but one part in admin the configuration cannot be read in english but ok in Thai after uploading the Thai pack. It shows

 

coding like this ª×èͧ͢à¨éҢͧÃéÒ¹¤éÒ all other areas it's ok.

Link to comment
Share on other sites

What admin part? What is written in the browser line when this character appear?

This is what it looks like.

If you click any link under Administrators you get the same, If you login in Thai it's perfect in Thai but is what show if login in english.

 

Configuration

 

Administrators

ÃéÒ¹¢Í§©Ñ¹

¤èÒµèÓÊØ´

¤èÒÊÙ§ÊØ´

ÀÒ¾

ÃÒÂÅÐàÍÕ´ÅÙ¡¤éÒ

¡ÒÃÊè§/ËÕºËèÍ

ÃÒ¡ÒÃÊÔ¹¤éÒ

¤ÅѧÊÔ¹¤éÒ

ºÑ¹·Ö¡¡ÒÃãªé§Ò¹

ᤪ

ÍÕàÁÅ

´ÒǹìâËÅ´

¡ÒúպÍÑ´ ____________________________________________________

Sessions everthing below here is working fine in Thai and English.

Catalog

Modules

Customers

Locations / Taxes

Localization

Reports

 

Thanks for getting back tpo me so quick.

 

Denis

Link to comment
Share on other sites

Try following:

Take the file admin/includes/languages/english.php

Find the 2 lines as below and make them to look like here

setlocale(LC_TIME, 'en_US.utf-8');

define('CHARSET', 'utf-8');

Change the encoding of the file to be utf-8

Check the entries of the file example

define('BOX_CONFIGURATION_CACHE', 'Cache');

does it look like this? or is it a "ÃéÒ¹¢Í§©Ñ¹"

Link to comment
Share on other sites

Try following:

Take the file admin/includes/languages/english.php

 

Find the 2 lines as below and make them to look like here

 

setlocale(LC_TIME, 'en_US.utf-8');

 

define('CHARSET', 'utf-8');

 

Change the encoding of the file to be utf-8

 

Check the entries of the file example

 

define('BOX_CONFIGURATION_CACHE', 'Cache');

 

does it look like this? or is it a "ÃéÒ¹¢Í§©Ñ¹"

Link to comment
Share on other sites

Hi My son tried the fix, it changed it but still not to english it now looks like this.

Configuration

Administrators

��ҹ�ͧ�ѹ

��ҵ���ش

����٧�ش

�Ҿ

��������´�١���

������/�պ���

��¡���Թ���

��ѧ�Թ���

�ѹ�֡�������ҹ

�����

��ǹ���Ŵ

��úպ�Ѵ GZip

Sessions

instead of this "ÃéÒ¹¢Í§©Ñ¹"

He's still trying

 

Try following:

Take the file admin/includes/languages/english.php

Find the 2 lines as below and make them to look like here

setlocale(LC_TIME, 'en_US.utf-8');

define('CHARSET', 'utf-8');

Change the encoding of the file to be utf-8

Check the entries of the file example

define('BOX_CONFIGURATION_CACHE', 'Cache');

does it look like this? or is it a "ÃéÒ¹¢Í§©Ñ¹"

Link to comment
Share on other sites

I have given my son your I.D so he can talk direct to you.

Thanks for your help

 

How do the entries in the file look like, after the file encoding it self was set to be utf-8?

 

Did you try to rewrite 1 or 2 of them to see how they look after in the browser?

Link to comment
Share on other sites

How do the entries in the file look like, after the file encoding it self was set to be utf-8?

 

Did you try to rewrite 1 or 2 of them to see how they look after in the browser?

 

Hi Multimixer Hugh here..

Thanks for your help with this

I have changed the two lines and set encoding to UTF-8

The code now looks like this:

 

setlocale(LC_TIME, 'en_US.utf-8');

 

define('CHARSET', 'utf-8');

 

define('BOX_HEADING_CONFIGURATION', 'Configuration');

 

Also changed encoding of the page "english.php" in dreamweaver.

Not sure what you mean by this" Did you try to rewrite 1 or 2 of them to see how they look after in the browser?"

But the charactors in configuration have changed but are still unreadable.........

 

���������������ʧ���͡����͡��??

?����͹ true

��ҡ�ä������»�����

��������������Ѿ���ͧ��ҹ��� Store Name Address Country Phone

�ʴ��ӹǹ��Ǵ���� false

���˹觷ȹ����ͧ���� 0

�ʴ��ҤҾ�������� true

Template Switching Allowed true

 

Thanks in advance for your advice

Hugh

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...