# 如何在WP Discourse中翻译文本内容？

**URL:** <https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326>\
**Category:** WordPress\
**Created:** [2021 年9 月 1 日 11:59 UTC](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326 "2021-09-01T11:59:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

作者： ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
发布日期： [2021 年9 月 8 日 10:05 UTC](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326/5 "2021-09-08T10:05:31Z")

</div>

嘿，没错，我这周做了这个工作，PR 已经准备好了 🙂

> <https://github.com/discourse/wp-discourse/pull/422>
>
> @scossar See https://meta.discourse.org/t/how-to-translate-text-content-in-wp-di…scourse/202326
> 
> ~~In draft as this PR needs to be merged first to preserve version sequence: https://github.com/discourse/wp-discourse/pull/421~~

它实现了你预期的功能。可配置的文本将作为 WPML 翻译流程的一部分可用。如果其他 ML 插件支持动态字符串，我们未来将添加对其他 ML 插件的支持。

[之前的 PR](https://github.com/discourse/wp-discourse/pull/421) 需要先合并。等 @simon 合并那个 PR 后，我就能提升这个 PR 的版本号，然后就可以合并了。

因此，该功能很可能会成为插件版本 `2.3.2` 的一部分。

---

_[View the full topic](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326)._
