首页 新闻 会员 周边

对于一个具有简繁两种版本的网站,该如何实现?

0
[已关闭问题] 关闭于 2007-12-25 08:48
<P>目前我找到了如下几种方法:</P> <P>1.用js来实现(写上繁简对应的字符集,对当前网站逐个转换):<A href="http://www.cnblogs.com/Nina-piaoye/archive/2006/11/21/566927.html">http://www.cnblogs.com/Nina-piaoye/archive/2006/11/21/566927.html</A></P> <P>2.在csdn上看到的这些解决方案</P> <P>&nbsp; </P> <P>有一个软件可以把繁体转换成简体,具体叫什么名字,我就记不太清楚了。你到网上去搜索一下吧。<A href="http://topic.csdn.net/t/20050427/15/3970901.html#"><FONT color=#0000ff>Top</FONT></A></P> <H3><STRONG><A class=anchor name=r_29246808>2 楼</A>v192(人都是環境逼出來的,所以往死裏逼我吧)<INPUT class=star1 title="一星用户 该版得分小于等于10000分,大于5000分" type=button></STRONG><SPAN>回复于 2005-04-27 16:10:41 得分 <EM>1</EM></SPAN></H3> <P>哎,教你一个简单的可行,不过有些别扭的办法。 &nbsp; <BR>&nbsp; 自己写个工具,主要会用到VB.Net里面的一个方法(可以实现把简体变成繁体字),然后遍历所有项目文件,把里面的字符转换替换掉,并把UTF-8或者GB2312之类的编码根据需要变成BIG-5就行了。<A href="http://topic.csdn.net/t/20050427/15/3970901.html#"><FONT color=#0000ff>Top</FONT></A></P> <H3><STRONG><A class=anchor name=r_29246942>3 楼</A>ntcw(大卫)<INPUT class=user1 title="一级用户 该版得分小于等于100分" type=button></STRONG><SPAN>回复于 2005-04-27 16:15:38 得分 <EM>1</EM></SPAN></H3> <P>简体<NOBR oncontextmenu="return false;" onmousemove=kwM(8); id=key8 onmouseover="kwE(event,8, this);" style="COLOR: #6600ff; BORDER-BOTTOM: #6600ff 1px dotted; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline" onclick="return kwC();" onmouseout="kwL(event, this);" target="_blank">网站</NOBR>转换繁体网站 &nbsp; -》不需要写一行代码, &nbsp; 只需加二个DLL文件即可实现;但是价格很贵,我公司就是用的DLL组件自动实现简体网站转换繁体网站.<A href="http://topic.csdn.net/t/20050427/15/3970901.html#"><FONT color=#0000ff>Top</FONT></A></P> <H3><STRONG><A class=anchor name=r_29246992>4 楼</A>ntcw(大卫)<INPUT class=user1 title="一级用户 该版得分小于等于100分" type=button></STRONG><SPAN>回复于 2005-04-27 16:17:52 得分 <EM>1</EM></SPAN></H3> <P>去看看这个网站:www.sm160.net &nbsp; &nbsp; <BR>&nbsp; 你用繁体系统,他就会自动转成繁体字;不需要手工切换;<A href="http://topic.csdn.net/t/20050427/15/3970901.html#"><FONT color=#0000ff>Top</FONT></A></P> <H3><STRONG><A class=anchor name=r_29247912>5 楼</A>mumushu(木木树)<INPUT class=user2 title="二级用户 该版得分小于等于500分,大于100分" type=button></STRONG><SPAN>回复于 2005-04-27 16:51:06 得分 0 </SPAN></H3> <P>以上我都知道. &nbsp; <BR>&nbsp; 想自己编写. &nbsp; <BR>&nbsp; up!<A href="http://topic.csdn.net/t/20050427/15/3970901.html#"><FONT color=#0000ff>Top</FONT></A></P> <H3><STRONG><A class=anchor name=r_29255858>6 楼</A>programmeraaron(冷侠)<INPUT class=user5 title="五级用户 该版得分小于等于5000分,大于2000分" type=button></STRONG><SPAN>回复于 2005-04-28 07:02:27 得分 <EM>1</EM></SPAN></H3> <P>写网站的时候,在Page_Load里写调用当前<NOBR oncontextmenu="return false;" onmousemove=kwM(4); id=key4 onmouseover="kwE(event,4, this);" style="COLOR: #6600ff; BORDER-BOTTOM: #6600ff 1px dotted; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline" onclick="return kwC();" onmouseout="kwL(event, this);" target="_blank">语言</NOBR>设置的函数InitLanguage,给每个语言版本都写一个resx文件<A href="http://topic.csdn.net/t/20050427/15/3970901.html#"><FONT color=#0000ff>Top</FONT></A></P> <H3><STRONG><A class=anchor name=r_29255889>7 楼</A>xiedan79(Sam Xie)<INPUT class=user5 title="五级用户 该版得分小于等于5000分,大于2000分" type=button></STRONG><SPAN>回
是谁啊?的主页 是谁啊? | 菜鸟二级 | 园豆:339
提问于:2007-12-25 08:42
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册