# How to translate Text content in WP Discourse?

**URL:** https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326
**Category:** WordPress
**Created:** [September 1, 2021, 11:59am UTC](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326 "2021-09-01T11:59:40Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Mikhail\_Tyuftyaev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikhail_tyuftyaev/32/237998_2.png) [@Mikhail\_Tyuftyaev](https://meta.discourse.org/u/Mikhail_Tyuftyaev)
#### Post date: [September 1, 2021, 11:59am UTC](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326/1 "2021-09-01T11:59:40Z")

</div>

Hello everyone. I have a wordpress blog in 6 languages  
How can I add a translation for these words?

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/d/4dbc6bcdd426cc9342d2eaa9c0cb6b923ef08f5d.png)  
I am using a plugin for WPML translation  
I can use files .po and. mo

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [September 1, 2021, 2:37pm UTC](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326/2 "2021-09-01T14:37:23Z")

</div>

Currently that text exists outside the WP localisation pipeline, which is why you’re not seeing them appear in the WPML administration panel. You will see other text from the [WP Discourse](https://github.com/discourse/wp-discourse) plugin in the WPML “String Translation” interface, but not the text in that screenshot.

This is a bit of a gap in the [WP Discourse](https://github.com/discourse/wp-discourse) plugin and I’ve moved it up the priority list. I’ve mostly completed a PR to allow those strings to be translated within WPML (the most widely used WP Multilingual Plugin). We may add support for other multilingual plugins if possible (not all have the same customisability as WPML).

I’ll give you an update on this one early next week.

---

<div class="post-metadata">

### Author: ![Mikhail\_Tyuftyaev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikhail_tyuftyaev/32/237998_2.png) [@Mikhail\_Tyuftyaev](https://meta.discourse.org/u/Mikhail_Tyuftyaev)
#### Post date: [September 1, 2021, 2:47pm UTC](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326/3 "2021-09-01T14:47:06Z")

</div>

Thank you for your message. I’ll be looking forward to it. Good luck

---

<div class="post-metadata">

### Author: ![Mikhail\_Tyuftyaev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikhail_tyuftyaev/32/237998_2.png) [@Mikhail\_Tyuftyaev](https://meta.discourse.org/u/Mikhail_Tyuftyaev)
#### Post date: [September 8, 2021, 9:36am UTC](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326/4 "2021-09-08T09:36:17Z")

</div>

Hello. Is there any news?

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [September 8, 2021, 10:05am UTC](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326/5 "2021-09-08T10:05:31Z")

</div>

Hey, yup, I worked on it this week and the PR is ready 🙂

[https://github.com/discourse/wp-discourse/pull/422](https://github.com/discourse/wp-discourse/pull/422)

It does what you expect. The configurable text will be available as part of the WPML translation pipeline. We’ll add support for other ML plugins in the future if they allow for dynamic strings.

[A previous PR](https://github.com/discourse/wp-discourse/pull/421) needs to be merged first. When @simon merges that I’ll be able to bump the version on this PR and it’ll be ready to be merged.

So this feature will likely be part of version `2.3.2` of the plugin.

---

<div class="post-metadata">

### Author: ![Mikhail\_Tyuftyaev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikhail_tyuftyaev/32/237998_2.png) [@Mikhail\_Tyuftyaev](https://meta.discourse.org/u/Mikhail_Tyuftyaev)
#### Post date: [September 8, 2021, 12:48pm UTC](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326/6 "2021-09-08T12:48:19Z")

</div>

Thank you very much. Well, we will wait. Can you please write when this will happen?

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [November 10, 2021, 3:46am UTC](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326/7 "2021-11-10T03:46:02Z")

</div>

Just a note that this work has been merged, and is part of the latest version of [WP Discourse](https://github.com/discourse/wp-discourse): `2.3.4`.

[WP Discourse](https://github.com/discourse/wp-discourse) now supports translation of “Text Content” via [WPML](https://wpml.org/): [see further](https://wpml.org/wpml-hook/wpml_register_single_string/). Support for other popular multilingual wordpress plugins can be added if they support dynamic string translation.

---

<div class="post-metadata">

### Author: ![Mikhail\_Tyuftyaev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikhail_tyuftyaev/32/237998_2.png) [@Mikhail\_Tyuftyaev](https://meta.discourse.org/u/Mikhail_Tyuftyaev)
#### Post date: [November 10, 2021, 7:23am UTC](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326/8 "2021-11-10T07:23:07Z")

</div>

Thank you very much. This is excellent!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 10, 2021, 7:23am UTC](https://meta.discourse.org/t/how-to-translate-text-content-in-wp-discourse/202326/9 "2021-12-10T07:23:33Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
