Can we have have one post with two different language


(benoir) #1

Hello, I want to know if we can create a new post with two different language ?


(Régis Hanol) #2

:us: Yes, you can!

:fr: Oui, vous le pouvez !


:troll: aside, Discourse only supports 1 “version” of a post. You might want to create a plugin to add support for more than 1 locale per post or use a plugin that will automatically translate posts.


(Eli the Bearded) #3

Hello, this is in English.

مرحبا، وهذا هو باللغة العربية.

I used <p lang=“en”> and <p lang=“ar”> in mine, and I see the language attribute copied to the preview. I don’t see language attributes in @zogstrip’s post.

Edit: after saving, the language attribute is still there. Preview didn’t lie.


(Jeff Atwood) #4

There is a plugin @tgxworld worked on which lets people click or tap to translate.


(benoir) #5

So good !! Thanks ! But where I can find this plugin ?


(Sam Saffron) #6

Here :smile:


(benoir) #7

It is so nice !

If i need another feature like this : Once I create my post with my mother language, so one other member can translate to anther language.