-
v0.3.1 Stable
released this
2026-08-06 14:45:58 +08:00 | 1 commits to master since this releaseFull Changelog: https://github.com/hanyixuanten/HTBD/compare/v0.3.0...v0.3.1
HTBD v0.3.1
New Features
- Add per-language controls for translating posts and taxonomy terms.
- Add per-language translation cache clearing while retaining the existing global cache cleanup action.
- Preserve target-language routing when submitting comments and following comment redirects.
Fixes
- Use Baidu Translate's supported
jplanguage code for Japanese routing instead ofja. - Allow redirects to configured language-bound domains.
Localization and Release Workflow
- Prefer approved WordPress.org language packs while retaining the bundled Simplified Chinese translation as a fallback.
- Separate GlotPress stable-readme translations from runtime plugin localization files.
- Exclude WordPress.org translation submission files from release archives.
- Refine GitHub Release packaging and WordPress.org SVN deployment triggers.
Upgrade Notes
- Japanese subdirectory routes now use
/jp/rather than/ja/. - Existing persisted translations remain available unless explicitly cleared.
- Minimum requirements remain PHP 8.1 and WordPress 6.4.
HTBD v0.3.1
新增功能
- 新增按语言翻译文章和分类项的控制功能。
- 新增按语言清除翻译缓存的功能,同时保留全局缓存清除操作。
- 提交评论及处理评论重定向时保留目标语言路由。
问题修复
- 日语路由由
ja调整为百度翻译支持的jp语言代码。 - 允许重定向到已配置的语言绑定域名。
本地化与发布流程
- 优先使用 WordPress.org 已批准的语言包,同时保留内置简体中文翻译作为后备。
- 将 GlotPress 稳定版说明翻译与插件运行时本地化文件分离。
- 发布归档不再包含 WordPress.org 翻译提交文件。
- 优化 GitHub Release 打包及 WordPress.org SVN 部署触发流程。
升级说明
- 日语子目录路由现在使用
/jp/,不再使用/ja/。 - 已持久化的翻译会继续保留,除非管理员明确清除。
- 最低要求仍为 PHP 8.1 和 WordPress 6.4。
Downloads