作者CountZero又为Binary Blue这个主题增加了些新功能,而且速度似乎也变快了(可能优化了代码)。麻烦之处还是在汉化,作者提供的PO文件是将德文翻译为英文,我开始时是将其中的英文译为中文,但用到主题中却没有成功,显示出来的还是英文,莫名其妙,最后想了一个笨办法-首先将模板文件中相应的德文替换成英文,然后在PO文件中把英文译为中文,OK,这次终于成功了!
该主题近几个版本的ChangeLog
Version 0.9.5
=============
+ added an option for a shorter display form of pingbacks and trackbacks
+ added support for authorcomment highlighting (no extra plugin needed)
+ added an option whether to hide the comment form after submitting a livecomment
+ added optional display of authorname in case there’s more than one author
Version 0.9.4
=============
+ version information is now upgraded automatically in the database
+ exchanged lightbox JS with the even better Lightbox Plus solution by Takuya Otani (http://serennz.cool.ne.jp/sb/sp/lightbox/)
+ comments section title will now only be displayed if commenting is enabled or there are comments in a post
+ added full support for Kirk Montgomery’s WP-Sociable quick bookmarking tool (http://www.maxpower.ca/sociable/2006/01/26/)
+ added full gravatars support (http://www.skippy.net/blog/2005/03/24/gravatars/)
Version 0.9.3
=============
+ exchanged “nice titles” script with a slightly modified version of a smarter solution by Dustin Diaz (http://www.dustindiaz.com/sweet-titles)
+ added full scheme switcher support, based on Dustin Diaz’ absolutely GREAT ‘Unobtrusive Degradable Style Sheet Switcher’ (http://www.dustindiaz.com/udasss/)
+ added some more different schemes for a better demonstration of the scheme switching facility
+ enhanced english translation a little
Version 0.9.2
=============
+ small changes at several stylesheets
+ added full support for the great Subscribe-to-Comments-Plugin of Mark Jaquith and Jennifer (http://txfx.net/code/wordpress/subscribe-to-comments/)
+ added an additional optinal scheme, demonstrating lefthanded sidebar columns
Version 0.9.0
=============
+ changed several variables to defines for more security and fewer errors 
+ rebuilt options page; now Binary Blue doesn’t share its options with K2 anymore
+ fixed lots of tiny errors
+ added MIT license information into ZIP file
+ added an option to switch off Dean Edwards’ /IE7/ support through the admin panel
+ added UTW support into theloop.php
+ added ELA into 404 page displayed on search without any result
+ added fully configurable nice title support (http://www.kryogenix.org/code/browser/nicetitle/)
+ added a few more stylesheet rules for some yet unused elements
+ put some additional code into ajax_comments.js to not longer embrace opera coz of its unability to display the phase()-effect correctly
+ improved and extended english translation
|
你好:
我是菜鸟,所以不太会用。我用了你发表在binary blue的汉化po文件,发现不能用,页面自动变回德文。现在不得已我在用英文po文件。
请问你有新的po文件可以公布么?或者说明该如何使用。谢谢。
不用客气:wink: Binary Blue主题最新版是1.1.1,你可以在http://www.4null4.de/wordpress-binary-blue-theme/下载到,我只做了1.1.0的汉化文件,因为1.1.1和1.1.0所使用的文本差不多,所以就没有再重新翻译,你用1.1.0的汉化文件在1.1.1上应该没什么问题,你可以在http://www.4null4.de/wordpress-binary-blue-theme/binary-blue-theme-localizations/下载到相关文件。
汉化文件的使用方法是有些麻烦,但并不难:
1. 将下载到的zh_CN.mo和zh_CN.po文件都上传到主题目录中(通常是/wp-content/themes/WP-Binary-Blue-v111/),注意文件名的大小写!
2. 修改Wordpress的wp-config.php文件(在wordpress的根目录中),在define (‘WPLANG’, ”);这行中添加上你所使用的语言编码,即变为define (‘WPLANG’, ‘zh_CN‘);
经过这两步,你的Binary Blue应该就变成中文界面了。
问题解决了。多谢。
我原来是按照binary blue的说明把文件放到wp-includes/languages/里面,英文的po就是这样起作用的。现在也没有全部汉化,剩余的部分用英文显示也不错。