Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ Languages and alternative language support ⇒ i18n - l10n (languages) :: Archives ⇒ Chinese Language Pack :: Archived


Chinese Language Pack :: Archived
Want a language pack or convertor? Have feedback on either of these? Are you a developer of one of these? Here is the place to post. Read the announcements here first!
Go to page Previous  1, 2
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  i18n - l10n (languages)

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

Offline Offline
Joined: Jul 09, 2004
Posts: 31

PostPosted: Sat Sep 25, 2004 11:25 pm
Post subject: Re: Chinese Language Pack

Code page or character set is defined by IE on page level. i.e. you cannot display two or more different code pages or languages on the same page.

I agree this is the advantage of UTF-8 to overcome such deficiency. But to me I still have few problem need to be resolved.

First, database content download:
I need, on some pages, extract information from database and create text file or rtf file and download to the browser. What is the code page of such file? Can PC running on older OS of native local languages such as Traditional Chinese Windows 98 (because starting from Windows2K the OS starts to support multiple language so compatibility issues exist in older OS) can still be able to read the file?

Second, RSS. I need to link to some other sites (and be linked by them) via RSS. They are running on ANSI, i.e. Big-5 Chinese instead of UTF-8 (they are on phpnuke instead of cpgnuke, but don't suggest me to ask them to switch, please, it is not my authority). How can I display their info probable in the RSS block? I have tested with the most obvious (default) approach and 'proved' that it DOESN'T work, unless I change my encoding page to big-5. Of course this causes problem on other messages on my page. Can anyone give me some advise on this issue?

I always think the multilingual feature of cpgnuke is for building pages easily swapable between languages, not for display multiple languages on the same page. I speak English but not German, for example. So if you put messages of both languages on the same page, I will pay no attention to the German messages, because I know nothing in that language. This is even true to the menu items. Therefore to me mixed language is not a big benefit to me on my site. I might be wrong. But please update me with the points or usages I missed.


dukeyork's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
PHP 5.0.4 / MySQL 4.0.7
Back to top
View user's profile
wi777
Newbie
Newbie

Offline Offline
Joined: Apr 20, 2004
Posts: 44
Location: Taiwan
PostPosted: Fri Sep 16, 2005 11:37 pm
Post subject: Re: Chinese Language Pack

here 0.9.0.6.1 new release in Chinese Traditonal Language.

I change css font size and more files besides language directory

php-iconv and php-gettext required if any mail with local big5 charset.

if mail problem in China user. you should do some modification instead of big5 with gb2312 as following:

modules/Your_Account/index.php

Code::
$message = mb_convert_encoding($message,"big5","utf-8");
                  $subject = mb_convert_encoding($subject,"big5","utf-8");
                  $to = mb_convert_encoding($to,"big5","utf-8");
                  $from = mb_convert_encoding($from,"big5","utf-8");
                  $sitename = mb_convert_encoding($sitename,"big5","utf-8");
$username = mb_convert_encoding($username,"big5","utf-8");

read some document for building web server with php-iconv support before installing dragonfly.
tw-irc.blogdns.com/linux.html
tw-irc.blogdns.com/win.html
tw-irc.blogdns.com/tem...linux.html

download Chinese Traditional (Taiwan / HongKong / SinGarPore) Language files if your web server are ready.

tw-irc.blogdns.com/dra...cht.tar.gz

I wish dragonfly development team to know how much I love dragonfly and share it localization in the future anytime anywhere and here thank them very much with all my heart.

_________________


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
View user's profile Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  i18n - l10n (languages)
Page 2 of 2
All times are GMT
Go to page Previous  1, 2

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

קרא יותר...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy