Loaded Commerce Community

Banner


Board index » Loaded Commerce Support » Language Definition

All times are UTC - 5 hours




Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Chinese Big5 Translation
PostPosted: Mon Aug 01, 2005 10:34 am 
Offline
CRE Newbie
User avatar

Joined: Fri Jun 17, 2005 12:00 am
Posts: 17
Hai...

i just submitted a chinese big5 translation for CRE6.15 admin and catalog.

here is another download link, incase you did not get it:
http://www.citymall.com.my/download/big5chinese.zip

it is about 80% translated, which i have not yet tough is the button image and also some affiliate info.

I continued the work by one of the translation contribution from oscommerce 2.2m2. So it contained some information, which might not be needed.

It works fine on my website.

but i do get a problem, which i believe is the browser problem.
it keeps decode the big5 in utf-8 code, which drive me nuts.
I would be appreciate if someone know how to get rid of this problem.

my option now is...translate again in utf-8
or i have to somehow "fix" it. so anybody know how to "ignore" the "browser prefered language" and force the browser to use my language...


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Mon Aug 01, 2005 10:39 am 
Offline
CRE Newbie
User avatar

Joined: Fri Jun 17, 2005 12:00 am
Posts: 17
the language should some how decode in big5, but unfortunately, it always decode in utf-8 by the IE . (opera is ok)

i changed the charset in language/tchinese.php to the correct charset which is big5.

but the browse keep decode it in utf-8.
any solution to it?


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Tue Aug 02, 2005 2:30 pm 
Offline
CRE Newbie
User avatar

Joined: Sun Jan 02, 2005 1:00 am
Posts: 12
The only difference I can find with my Japanese files is that in your tchinese.php, I would replace @setlocale(LC_TIME, 'tchinese'); by @setlocale(LC_TIME, 'zh-tw.big5');
That, and in what charset did you save your php files? Big5?


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Tue Aug 02, 2005 8:30 pm 
Offline
CRE Newbie
User avatar

Joined: Fri Jun 17, 2005 12:00 am
Posts: 17
yup.
so if utf-8, what should i put?


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Wed Aug 10, 2005 10:41 am 
Offline
CRE Newbie
User avatar

Joined: Fri Jun 17, 2005 12:00 am
Posts: 17
is the charset problem...

i replaced the template, content, language folder, "language".php
but still no result.

it seems that somehow it didn't pickup the charset from the "language".php file....

HELP please!!~!


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Wed Aug 10, 2005 4:06 pm 
Offline
CRE Newbie
User avatar

Joined: Fri Jun 17, 2005 12:00 am
Posts: 17
Allright....Now i Had successfully make the view source appeared the same(previously not the same, it always show charset as iso) as with other oscommerce in same language which mean they have the correct lang=tw, ltr and charset=big5, BUT THE BROWSER SEEMS TO IGNORE THE language and charset!

What was wrong???


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Wed Aug 10, 2005 6:39 pm 
Offline
CRE Newbie
User avatar

Joined: Fri Jun 17, 2005 12:00 am
Posts: 17
ok here is some clue that i found:

on catalog:
all the view source code (in browse) look the same with other translated oscommerce (i assume that is no problem)
but the browser failed to translate the language (it identify the language), so until i manually set the encoding to "big5", it is remain at "iso", and so after i refreh the page. It goes back to the iso encoding.

in the admin section
instead of "iso" it just goes to "western european (windows)". i have to manually set it to "big5" in order to view it. Everytime i refresh or go to next page i have to reset the encoding.

So anybody can help?


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Wed Aug 10, 2005 8:56 pm 
Offline
CRE Newbie
User avatar

Joined: Fri Jun 17, 2005 12:00 am
Posts: 17
anybody can tell me which command in which file determine which charset for language the browser use?

obviously, it is NOT language/"language".php
define(CHARSET, 'big5');

it DOESN"T work!!


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Thu Aug 11, 2005 10:24 am 
Offline
CRE Newbie
User avatar

Joined: Sun Jan 02, 2005 1:00 am
Posts: 12
I checked the encoding of your 2 tchinese.php files.
The admin file one is encoded in "Western (Windows-1252)" and the catalog one is encoded in "Western (ISO-8859-1).
I think that could be the problem. All your php files need to be encoded in chinese Big5.
Try to do that and see if it works.


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Thu Aug 11, 2005 10:40 am 
Offline
CRE Newbie
User avatar

Joined: Fri Jun 17, 2005 12:00 am
Posts: 17
thanks friefrench, you are my savior!
But how to check the encoding? which software is recommended? I used frontpage, can i check with that?


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Thu Aug 11, 2005 12:50 pm 
Offline
CRE Newbie
User avatar

Joined: Sun Jan 02, 2005 1:00 am
Posts: 12
To check the encoding I always use firefox.
To force the encoding of the php file to Chinese Big5, I don't know.
I recently find a text editor that allows to force the encoding but only to Japanese-type encoding. Look on the net, I'm sure you can find something(or maybe frontpage works?).


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Sat Aug 13, 2005 7:34 am 
Offline
CRE Newbie
User avatar

Joined: Fri Jun 17, 2005 12:00 am
Posts: 17
I suspect that it is my hosting provider set the default charset (in header) to iso-8859-1 instead of utf-8

if that is the case, any other solution i can do?


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Sun Aug 14, 2005 3:51 pm 
Offline
CRE Newbie
User avatar

Joined: Fri Jun 17, 2005 12:00 am
Posts: 17
solved....it is the hosting problem :)


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Fri Sep 30, 2005 1:31 am 
Offline
CRE Newbie
User avatar

Joined: Fri Sep 30, 2005 12:00 am
Posts: 2
The Download Link ist dead. Is there an alternative server where I can download the language pack?

THX,


Top
 Profile  
 
 Post subject: Re: Chinese Big5 Translation
PostPosted: Fri Oct 07, 2005 2:17 am 
Offline
CRE Newbie
User avatar

Joined: Fri Oct 07, 2005 12:00 am
Posts: 1
hello,
i`m also looking for a traduction of the creload in chinese big5 .... the link is dead ... has someone else other information ... :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

Board index » Loaded Commerce Support » Language Definition

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
It is currently Thu May 24, 2012 8:17 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Forums Latest Activity

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy