| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
dukeyork Newbie


Offline Joined: Jul 09, 2004 Posts: 31
|
Posted: Fri Jul 09, 2004 7:34 pm Post subject: Chinese Language Pack |
|
I would like to suggest not to use CHARSET=UTF-8i in Chinese language pack. Instead, it should be CHARSET=BIG5. Accordingly, all the chinese-php files encodings should be changed as well.
The reason is, the same Chinese character is represented by different values in localized codepage (i.e. big5) and unicode. When charset=utf-8 is specified in html header, browse converts any input in Chinese into unicode codepage instead of keepin its original big5 code. Since most Chinese web pages are coded as big5, converting to utf-8 can only prevent the page to be searched natually.
Please consider my request. I am doing the change on my site anyway. I can help to convert the language.php files if needed.
dukeyork's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) PHP 5.0.4 / MySQL 4.0.7
|
|
| Back to top |
|
 |
wi777 Newbie


Offline Joined: Apr 20, 2004 Posts: 44 Location: Taiwan
|
Posted: Tue Jul 13, 2004 4:51 am Post subject: Re: Chinese Language Pack |
|
I am a translator for CPGNuke , and gald to meet you here.
I am not php programmer, and consider your project will be good to most users who would like to build their web in Chinese(Traditional) with big5 charset.
在此給你加油加油.
feel free to download Chinese Traditional package in utf-8 encoding as the followin' URL
pc-studio.myweb.hinet.net/CPG-Nuke/
wi777's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) WINXP SP2/ apache 2.0.54/ php 5.0/ mysql 4.1
|
|
| Back to top |
|
 |
dukeyork Newbie


Offline Joined: Jul 09, 2004 Posts: 31
|
Posted: Tue Jul 13, 2004 3:29 pm Post subject: Re: Chinese Language Pack |
|
Hi Wi777,
Thanks for your response. I might need your help to translate more files. Not all terms in english file are currently translated to Chinese yet.
However, I do need some official responses from cpgnuke develpment team to get the consensus of producing page in big5 codepage instead of unicode. The reason is that phpnuke is all non-unicode. There must be a reason for cpgnuke team to change everything to unicode. I can (and will) create my own set of big5 language for my own use. But I will not contribute it back to cpgnke unless I am sure it is in line with the direction the site is going.
Can someone in development team give some response here?
Thanks
dukeyork's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) PHP 5.0.4 / MySQL 4.0.7
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
|
| Back to top |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Fri Jul 16, 2004 11:27 am Post subject: Re: Chinese Language Pack |
|
CPGNuke uses UTF-8 so that chinese characters can also be displayed on other languages pages.
For example if I go to a chinese CPGNuke website and the block name or header text is in utf-8 Chinese i can still see the characters when english or any other language is chosen as my default in CPGNuke, not so fo BIG-5.
_________________ AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM
Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
|
|
| Back to top |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Sat Jul 17, 2004 12:38 am Post subject: Re: Chinese Language Pack |
|
see my poll here cpgnuke.com/Forums/vie...=2352.html
and can you guys get together with chinabrit to take parts, to complete the utf-8 translation?
For using RSS from BIG-5 encoded sites there is probably an algorhythm we can use to translate the input so it is properly diplayed.
You might be able to paste big5 chars into the news input and have it displayed correctly... let me know if that also works...
_________________ AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM
Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
|
|
| Back to top |
|
 |
ChinaBrit Nice poster


Offline Joined: Apr 21, 2004 Posts: 68 Location: Colombo, Sri Lanka
|
Posted: Sat Jul 17, 2004 10:12 am Post subject: Re: Chinese Language Pack |
|
Hi Wi777 and dukeyork!
Greetings from a Brit in China.
dukeyork:
As akamu has explained, utf-8 allows multiple languages to be displayed on a page - unlike BIG5 - that is why it was chosen. For people like me, whose site is mostly English with a little Chinese, that works very well. I guess if you need to convert existing data it becomes a hassle. I'm only a relative newbie at PHP but I see there is a function, iconv(), that can convert between character sets so maybe it would be possible to write a routine that would convert between Big5 and UTF-8?
Wi777:
I tried to download your language pack but can't get to that URL - or to the site on your profile. I wonder if this is because the sites are in Taiwan and I'm in mainland China??? Say no more...
I am English, living in China at the moment, and would like to help akamu get the Chinese language packs sorted. Is there any way I can get hold of your language pack?
akamu:
From what has been said in this thread, the existing language pack appears to be Traditional Chinese. I'd like to help you get a Simplified Chinese language pack together. The bad news: my Chinese is very poor so I will have to try and get someone to translate it for me. The good news: if we already have the Traditional Chinese language files in UTF-8 format, I have some software that will convert it to Simplified Chinese. Can you let me have the Chinese language files - assuming I can't get them from Wi777?
Am I right to say that the English version on the 8.3 CVS is, more or less, complete and that any new packs should be based on that?
Ian.
ChinaBrit's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) linux/1.3.29/4.0.20/4.3.10/8.2b
|
|
| Back to top |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Sat Jul 17, 2004 10:25 am Post subject: Re: Chinese Language Pack |
|
_________________ AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM
Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
|
|
| Back to top |
|
 |
ChinaBrit Nice poster


Offline Joined: Apr 21, 2004 Posts: 68 Location: Colombo, Sri Lanka
|
Posted: Sat Jul 17, 2004 11:50 pm Post subject: Re: Chinese Language Pack |
|
I downloaded a couple of the lang files to check them out. Actually, they appear to be Traditional Chinese, not Simplified... From what I saw, there is still a proportion of the defines which have not been translated.
If we have most of the language files in Traditional Chinese I think I can convert them to Simplified - two for the price of one???
I downloaded Tortoise CVS to try to download the complete 8.3 CVS but had problems - that's why I only checked out a couple of the files. If I can't get it to work later I'll be asking for help.
Incidentally, it is possible to copy from a Big5 page and paste into CPG Nuke as you suggested...
ChinaBrit's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) linux/1.3.29/4.0.20/4.3.10/8.2b
|
|
| Back to top |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Sun Jul 18, 2004 9:23 am Post subject: Re: Chinese Language Pack |
|
wi777 i tried to find the language pack but all i found was a full version of cpgnuke...8.2a
_________________ AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM
Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
|
|
| Back to top |
|
 |
wi777 Newbie


Offline Joined: Apr 20, 2004 Posts: 44 Location: Taiwan
|
Posted: Mon Jul 19, 2004 10:08 am Post subject: Re: Chinese Language Pack |
|
| akamu wrote: |
| wi777 i tried to find the language pack but all i found was a full version of cpgnuke...8.2a |
yes, just rename directory and filename from English to Chinese.
If turn it to Chinese directory and filename then many info will be displayed in English. so I directly translate it in Eng.
another issue is css file , I change they to 12px (min), and some mb_convert_encoding for account mail and displayed timezone while some web server in windows.
_________________

wi777's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) WINXP SP2/ apache 2.0.54/ php 5.0/ mysql 4.1
|
|
| Back to top |
|
 |
ChinaBrit Nice poster


Offline Joined: Apr 21, 2004 Posts: 68 Location: Colombo, Sri Lanka
|
Posted: Mon Jul 19, 2004 10:38 pm Post subject: Re: Chinese Language Pack |
|
Hi wi777,
I have managed to get to your site using a proxy (so I guess it must be blocked from mainland China...).  However, like akamu, I couldn't find the language pack.
| Quote:: |
| just rename directory and filename from English to Chinese. |
I'm not clear what you mean. Do I have to download the whole cpgnuke zip and extract it? And before going to more trouble, is your version more up to date than the one in the language packs on this site? (In downloads and 8.3 CVS)
Thanks.
ChinaBrit's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) linux/1.3.29/4.0.20/4.3.10/8.2b
|
|
| Back to top |
|
 |
Viperal Supporter


Offline Joined: May 01, 2004 Posts: 858 Location: New York
|
Posted: Mon Jul 19, 2004 11:30 pm Post subject: Re: Chinese Language Pack |
|
_________________ What is The Viperal ?
Email: viperal1 @ gmail.com
Viperal please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
wi777 Newbie


Offline Joined: Apr 20, 2004 Posts: 44 Location: Taiwan
|
Posted: Mon Jul 19, 2004 11:53 pm Post subject: Re: Chinese Language Pack |
|
| ChinaBrit wrote: |
Hi wi777,
is your version more up to date than the one in the language packs on this site? (In downloads and 8.3 CVS)
Thanks. |
I recognize the download file provided by me is up to date following bug fixes reported on forum of cpgnuke.com and some module following cvs.
I must ensure people consider cpgnuke is great and keep bug fixes for it
that's the reason I stamp file-date on my webpage for annoucement of file-update.
_________________

wi777's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) WINXP SP2/ apache 2.0.54/ php 5.0/ mysql 4.1
|
|
| Back to top |
|
 |
wi777 Newbie


Offline Joined: Apr 20, 2004 Posts: 44 Location: Taiwan
|
Posted: Tue Jul 20, 2004 12:06 am Post subject: Re: Chinese Language Pack |
|
| Viperal wrote: |
| ChinaBrit wrote: |
Hi wi777,
I have managed to get to your site using a proxy (so I guess it must be blocked from mainland China...). |
You shouldn't of tried to hack him.  |
yes, I have already noticed the situation you get into , isp or proxy server on China Mainland will block my webpage because of China government official information surveillance policy.
If you tell me the yim or msn instant messager account, I will transfer file to you on it.
the following files are translated in Chinese (not in language)
admin/modules/smilies.php backup.php newsletter.php groups.php authors.php users_cfg.php modules.php forums.php
ShoutBlock.php settings.php coppermine.php stories.php
and there are 4 files fixed for translation in directory admin/links/
and many many more ...
_________________

wi777's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) WINXP SP2/ apache 2.0.54/ php 5.0/ mysql 4.1
|
|
| Back to top |
|
 |
|
|