How to translate Text content in WP Discourse?

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


I am using a plugin for WPML translation
I can use files .po and. mo

1 Like

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 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 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.

2 Likes

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

1 Like

Hello. Is there any news?

1 Like

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

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 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.

2 Likes

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

1 Like

Just a note that this work has been merged, and is part of the latest version of WP Discourse: 2.3.4.

WP Discourse now supports translation of “Text Content” via WPML: see further. Support for other popular multilingual wordpress plugins can be added if they support dynamic string translation.

2 Likes

Thank you very much. This is excellent!

2 Likes

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