# Oneboxes text not translated

**URL:** https://meta.discourse.org/t/oneboxes-text-not-translated/43800
**Category:** Support
**Created:** [May 6, 2016, 2:44pm UTC](https://meta.discourse.org/t/oneboxes-text-not-translated/43800 "2016-05-06T14:44:51Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![vulkanino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vulkanino/32/119654_2.png) [@vulkanino](https://meta.discourse.org/u/vulkanino)
#### Post date: [May 6, 2016, 2:44pm UTC](https://meta.discourse.org/t/oneboxes-text-not-translated/43800/1 "2016-05-06T14:44:51Z")

</div>

Hey all,

when I paste a link from the same Discourse installation domain, I get a nice (onebox?) summary.

 ![](https://global.discourse-cdn.com/meta/original/3X/e/2/e20dab1ffb81384cbe24a4d94f3f7a81df03656e.png)

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:

 ![](https://global.discourse-cdn.com/meta/original/3X/b/4/b41ed272263c964d7ed5ccaf0674f67bd6778ccc.png)

Also there’s an [image] text tag at the beginning of the box.

Why ❓

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 6, 2016, 10:45pm UTC](https://meta.discourse.org/t/oneboxes-text-not-translated/43800/2 "2016-05-06T22:45:37Z")

</div>

Perhaps @techapj can assist as he built this feature. The translation would be in the onebox project though.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [May 7, 2016, 3:34am UTC](https://meta.discourse.org/t/oneboxes-text-not-translated/43800/3 "2016-05-07T03:34:13Z")

</div>

Hi @vulkanino,

String “Reading time” should be getting localized.

I looked at your Discourse instance:

[http://rasando.it/t/le-pere-lucien/124](http://rasando.it/t/le-pere-lucien/124)

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.

---

<div class="post-metadata">

### Author: ![vulkanino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vulkanino/32/119654_2.png) [@vulkanino](https://meta.discourse.org/u/vulkanino)
#### Post date: [May 7, 2016, 6:13am UTC](https://meta.discourse.org/t/oneboxes-text-not-translated/43800/4 "2016-05-07T06:13:28Z")

</div>

It is fully translated! Maybe Discourse finds your browser or system language and adapts to it?

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [May 7, 2016, 6:55am UTC](https://meta.discourse.org/t/oneboxes-text-not-translated/43800/5 "2016-05-07T06:55:24Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![vulkanino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vulkanino/32/119654_2.png) [@vulkanino](https://meta.discourse.org/u/vulkanino)
#### Post date: [May 8, 2016, 7:05am UTC](https://meta.discourse.org/t/oneboxes-text-not-translated/43800/6 "2016-05-08T07:05:24Z")

</div>

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:

[http://rasando.it/t/maggio-2016/639/3](http://rasando.it/t/maggio-2016/639/3)

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [May 8, 2016, 2:42pm UTC](https://meta.discourse.org/t/oneboxes-text-not-translated/43800/7 "2016-05-08T14:42:16Z")

</div>

You will need to onebox the topic again (add `?1` at the end of the URL). See translated onebox in action here:

[http://rasando.it/t/le-pere-lucien/124](http://rasando.it/t/le-pere-lucien/124)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 8, 2016, 8:22pm UTC](https://meta.discourse.org/t/oneboxes-text-not-translated/43800/8 "2016-05-08T20:22:18Z")

</div>


