Chinese to English Slug Converter
A WordPress plugin that automatically translates Chinese post titles to English slugs using Google Translation API. / 自動將 WordPress 文章的中文標題翻譯成英文 Slug 的外掛(使用 Google 翻譯 API)。
★ 2stars
9release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/ivanusto/zh-to-en-slug/releases/download/v1.3.0/zh-to-en-slug-v1.3.0.zipFrom the readme
Chinese to English Slug Converter
A WordPress plugin that automatically converts Chinese post titles into English slugs using the Google Cloud Translation API, creating clean and SEO-friendly URLs for your content.
Key Features
- Automatic translation of Chinese titles to English slugs
- Post ID appended to slug on updates; WordPress core guarantees uniqueness for new posts
- Translation results cached for 7 days to reduce API usage
- Configurable maximum slug length
- Clean and SEO-friendly URL structure
- Easy-to-use settings interface
- API connection testing tool
- Support for both Traditional and Simplified Chinese
Requirements
- WordPress 6.0 or higher
- PHP 7.4 or higher
- Google Cloud Platform account with Cloud Translation API enabled
Installation
1. Upload the plugin files to /wp-content/plugins/chinese-to-english-slug, or install through the WordPress plugins screen
2. Activate the plugin through the Plugins screen in WordPress
3. Go to Settings Chinese to English Slug to configure the plugin
4. Enter your Google Cloud Translation API key and configure your preferred maximum slug length
Getting a Google Cloud Translation API Key
1. Go to Google Cloud Conso
Read the full README on GitHub →