DALLASCAO.COM

Site of Cao Shouguang, English to Chinese translator


Warning: Missing argument 1 for shapeshifter_archive_page_title(), called in /var/www/dallascao.com/en/wp-content/themes/shapeshifter/category.php on line 10 and defined in /var/www/dallascao.com/en/wp-content/themes/shapeshifter/includes/functions-do-actions.php on line 142

Category: World Wide Web

Shortcut to open a link in a new tab instead of a new window

Shortcut to open a link in a new tab instead of a new window
Ctrl+click or press the middle button of your mouse to force open a link in a new tab. It should work in IE, chrome and Firefox.Read More

Use cookies to remember the language version users visited last time (php code)

Use cookies to remember the language version users visited last time (php code)
This site is bilingual. http://dallascao.com/cn/ is the Chinese version and http://dallscao.com/en/ is the English version. When you visit http://dallascao.com/, you are directed to either /cn/ or /en/ according to the default language of your browser or the version you visited last time.Read More

friendfeedTranslate: script that translate all languages on a page into one language

friendfeedTranslate: script that translate all languages on a page into one language
In another post, I said it would be cool if we can translate contents of different languages on a page into one language. This now has become a reality: Micah Wittman created this tool using Google translate API that makes the translation only one click away.Read More

The context sensitive Language Versions link

The context sensitive Language Versions link
Most bilingual sites only have a fixed link to the other language version. Wherever you are on one language version of a site, clicking on the Language Version link always takes you to the home page of the other version of the site. But I want my visitors get the exact page they are viewing written in the other language. I used the javascript replace method to make it work.Read More

Language filter for friendfeed.com?

Language filter for friendfeed.com?
One enhancement for friendfeed.com I can think of is language filter. If someone who knows one language subscribes to several multilingual friends, his homepage can be messy with items and comments in languages they don’t know. Read More