¿Cómo traducir contenido de texto en 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 me gusta

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 Me gusta

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

1 me gusta

Hello. Is there any news?

1 me gusta

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

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 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 Me gusta

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

1 me gusta

Solo una nota de que este trabajo se ha fusionado y forma parte de la última versión de WP Discourse: 2.3.4.

WP Discourse ahora admite la traducción de “Contenido de texto” a través de WPML: ver más. Se puede agregar soporte para otros complementos populares de WordPress multilingües si admiten la traducción dinámica de cadenas.

2 Me gusta

Muchas gracias. ¡Esto es excelente!

2 Me gusta

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