Hey all,
when I paste a link from the same Discourse installation domain, I get a nice (onebox?) summary.
At the bottom a line reports the reading time, but the string is not translated into my installation language.
In Transifex the string is translated:
Also there’s an [image] text tag at the beginning of the box.
Why
Perhaps @techapj can assist as he built this feature. The translation would be in the onebox project though.
techAPJ
(Arpit Jalan)
2016 年5 月 7 日 03:34
3
Hi @vulkanino ,
String “Reading time” should be getting localized.
I looked at your Discourse instance:
and noticed that translation is not working at all. Notice the Sign Up / Login button text, footer notice. Everything is in English. Why is that? Once we figure that out the original issue you reported should be fixed.
It is fully translated! Maybe Discourse finds your browser or system language and adapts to it?
techAPJ
(Arpit Jalan)
2016 年5 月 7 日 06:55
5
Do you have this setting enabled: set locale from accept language header
If yes, then that must be why “Reading time” is not getting translated, because the onebox makes anonymous request.
I had the option enabled but I don’t think that’s the problem. Now I have disabled it and the onebox still shows the text in English.
This is the topic, please check:
techAPJ
(Arpit Jalan)
2016 年5 月 8 日 14:42
7
You will need to onebox the topic again (add ?1 at the end of the URL). See translated onebox in action here: