Page 1 of 2

Problem on different language

Posted: Fri Mar 27, 2009 11:18 am
by yukina
Hi there. I use the opencart v1.1.8. As I am a Hongkonger I make my own language pack (i.e. Tranditional Chinese) in the webpage.
It works well in Firefox 3.0 but I found out later in IE the middle table of the "Latest Products" will drop under the "Information" table.
Also, in the product's review page of the Chinese language version, the verification picture does not show as the English page does.
All the Chinese language pages are in UTF-8 in order to show properly. I think it may be the reason of the failures, but I don't know how to solve it :(
Can anyone help me?
You may check the site out on http://www.store-fourseasons.com/opencart

verification picture

Posted: Sat Mar 28, 2009 7:49 pm
by Hildebrando
Hi:

Working with 1.2.4

The same problem with the spanish language pack, the verification picture does not show as the English page does. >:(

Any help?

Best,

Hilde

Re: Problem on different language

Posted: Sat Mar 28, 2009 8:15 pm
by Hildebrando
Hi:

Solution:

At the catalog\language folder i have a file named spanish.php (similar to the default english.php)

When i save my file as UNIX/UTF-8 on my Windows machine i cannot see the verification image.

but if i save the file as UNIX/ANSI then there is the image.

Best,

Hilde

Re: Problem on different language

Posted: Mon Mar 30, 2009 10:08 am
by yukina
Thanks Hilde. I tried and the verification image finally appeared.
But there is another problem -- the Chinese charachers become unreadable monsters :(
Does anyone have a way to solve this as well as the middle div problem?

P.S.: I found another problem on the admin main page. The statistic graph does not come up, even in English page. I tried the version on my own PC before uploading to the site, and it works fine in my own localhost server. What can be the reason the graph not to appear?

Re: Problem on different language

Posted: Tue Mar 31, 2009 5:26 am
by Daniel
the problem with the stats is because you installed IE8.

I'm going to use different software in the next release.

Re: Problem on different language

Posted: Tue Mar 31, 2009 10:09 am
by yukina
It was an IE7 actually (7.0.6000.16791) :'(

And I would like to know how to solve the table placing problem the most. Will it be the problem that I use UTF-8 instead of ASNI for the language files? I cannot use ASNI or the characters turn into strange characters :(

Re: Problem on different language

Posted: Wed Apr 01, 2009 4:52 pm
by yukina
I found that the IE bug of margin: auto in css occurs in my Chinese pages... :o
The English page is perfect although, I just wonder if I can do anything to solve it...

The MySQL server checks records in utf-8 now and the database just works correctly.

The status of my OC setting:
Coding of language folders "t_chinese" in /admin/language/ and /config/language/ : UTF-8
All the other files : ANSI
MySQL charset: UTF-8 Unicode (utf8)
MySQL connection collation: utf8_unicode_ci

Should I change all the php into UTF-8 coding? Please give me some advices.

Re: Problem on different language

Posted: Wed Apr 01, 2009 5:05 pm
by missright
hi, yukina ,

i need ur help , can u pls tell me how can u type the chinese character such as 關於我們 , 私隱政策 as well as the product name in chinese into sql database , cos for me, i cant type any chinese character to be stored inside the database , i onli can do that in those .php files ....

do i need to insert any sql command to modify the database ? can u explain me in details? thanks

Re: Problem on different language

Posted: Thu Apr 02, 2009 12:21 am
by Daniel
Some one posted a chinese character opencart site.

Re: Problem on different language

Posted: Thu Apr 02, 2009 1:06 am
by missright
Everytime i type chinese character in admin setting , it will display the message like this :

Information Title must be greater than 3 and less than 64 characters!

then it ends up that i cannot save the chinese character, have to type in english.....


y? this problem bothers me for a long time......

Re: Problem on different language

Posted: Thu Apr 02, 2009 1:07 am
by Daniel
i'll look into this.

Some one else reported the problem and found a solution.

Its not actually OpenCart's fault its how PHP has been coded.

Re: Problem on different language

Posted: Thu Apr 02, 2009 1:16 am
by missright
it will be great , thanks.....

Re: Problem on different language

Posted: Thu Apr 02, 2009 5:05 am
by Daniel
I've found a fix and added it in the next release.

Re: Problem on different language

Posted: Thu Apr 02, 2009 9:52 am
by yukina
>>missright
You may try to change the MySQL settings as follow:
MySQL charset: UTF-8 Unicode (utf8)
MySQL connection collation: utf8_unicode_ci

>>Daniel
I have posted one on this post.
Image
If I take it wrongly, please give me the link of the some one's post ::)

Re: Problem on different language

Posted: Thu Apr 02, 2009 3:19 pm
by missright
hi, yukina ,
i have checked my sql setting, its charset setting is same as you mentioned above , but i still can't view it normally ....

Re: Problem on different language

Posted: Sat Apr 04, 2009 1:50 am
by Hildebrando
HI:

I'm not sure but perhaps...

1.- Open the file

2.- Change the file format from original ANSI to UTF-8

3.- write the words in your language.

4.- Save the file as ANSI.

best,

Hilde

Re: Problem on different language

Posted: Sat Apr 11, 2009 9:39 am
by Daniel
missright,

did the latest version fix your problem?

Re: Problem on different language

Posted: Wed Apr 22, 2009 11:55 pm
by andric2k
Hi,

I have same problem of putting chinese language as well. I follow all the step available but the problem still occur.
Last time when I try out the 1.1.x version, it is ok to write chinese language.
I hope solution will be provided soon.

Thanks.

Re: Problem on different language

Posted: Thu Apr 23, 2009 12:14 am
by andric2k
Now I manage to write chinese word in the language file display it out buy at the top it shows below errors:
Warning: Cannot modify header information - headers already sent by (output started at K:\xampp\htdocs\opencart126_1\catalog\language\chinese\common\header.php:1) in K:\xampp\htdocs\opencart126_1\system\library\response.php on line 65

Please kindly help in this method cause I really dont know why this happen.

Thanks.

Re: Problem on different language

Posted: Thu Jun 11, 2009 3:13 pm
by hitu_125
i too have problem with verification picture, it does not appear when i review the products, the given solution is not understandable. please hilder,provide clear, and detailed ideas, it would be helpful to all others. How could i save the file as ANSI/OR utf-8 first.,that is not gettable,thing. I hope you will and can resolve and will present the solution to the board members of open cart users. Thanks for your support.