Facebook OneBox shows wrong language

Strange. I linked from finnish Facebook group to finnish Discourse and I got this:

I’m quite sure texts in OneBox is not finnish :rofl:

Let’s try it here:

Ok, now I got different language.

Any guessing what is making this?.

I once heard that Facebook uses the same language as the forum’s server location.

My server is in Finland, and your link displays:

On my France-hosted forum:

I don’t know if there is any way to prevent this.


edit:
More info here

4 Likes

Hi Canapin, This is a really interesting info, thanks. :slightly_smiling_face: I checked mine and I can confirm the onebox is in German language as our server is in Frankfurt.

Edit: I tried it many times now to check what is happening and it is not always in German language :thinking: It seems to random for me. For example now it is in Russian language.

1 Like

Good explanation, but mine is in Germany and I don’t believe this forum is served from… is that chinese or something.

Plus this was very first time when something like this happened.

Hosting in Germany here, very interesting, didn’t know. Curious to see if there’s a workaround.

Messing around a bit with the html here. Maybe Discourse should add some tag(s) and that would solve the problem?

The first one is just an example, maybe some lang addition?
The second one (from above) has some funny stuff after the rel, maybe that messes things up.

https://usnconeboxax1aos.cloud.onebox.dynamics.com/?cmp=DEMF&mi=CustParameters&lng=en-us


<h3><a href="https://www.facebook.com/groups/vaellusgroup/permalink/10159228526086173" target="_blank" rel="noopener">?????????</a></h3>

Just thinking out loud here…