# Issue with badge translate

**URL:** https://meta.discourse.org/t/issue-with-badge-translate/57518
**Category:** Support
**Created:** [February 17, 2017, 12:40am UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518 "2017-02-17T00:40:00Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![YesYesiAmKamil](https://avatars.discourse-cdn.com/v4/letter/y/6a8cbe/32.png) [@YesYesiAmKamil](https://meta.discourse.org/u/YesYesiAmKamil)
#### Post date: [February 17, 2017, 12:40am UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/1 "2017-02-17T00:40:00Z")

</div>

Hi!

I’m trying to add image to default badge but after that i cannot translate the name of that badge through the translate tool: i’m changing the name, but nothing happens. Is it normal?

---

<div class="post-metadata">

### Author: ![YesYesiAmKamil](https://avatars.discourse-cdn.com/v4/letter/y/6a8cbe/32.png) [@YesYesiAmKamil](https://meta.discourse.org/u/YesYesiAmKamil)
#### Post date: [February 18, 2017, 3:06pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/2 "2017-02-18T15:06:18Z")

</div>

Anyone here? 🙂

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [February 18, 2017, 3:21pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/3 "2017-02-18T15:21:46Z")

</div>

> [@YesYesiAmKamil](#):
>
> Anyone here?

It’s the weekend, so I’m guessing many members are doing Real Life activities. Anyway, more information from you is needed to answer your question.

Is your version of Discourse up-to-date?  
Which Badge?  
What language is your forum?

---

<div class="post-metadata">

### Author: ![YesYesiAmKamil](https://avatars.discourse-cdn.com/v4/letter/y/6a8cbe/32.png) [@YesYesiAmKamil](https://meta.discourse.org/u/YesYesiAmKamil)
#### Post date: [February 18, 2017, 3:24pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/4 "2017-02-18T15:24:22Z")

</div>

Version: 1.8.0.Beta5+35, Docker install.  
All badges.  
Russian Language.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [February 18, 2017, 3:59pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/5 "2017-02-18T15:59:28Z")

</div>

All badges? The Russian translation isn’t complete - 90%  
[https://www.transifex.com/discourse/discourse-org/](https://www.transifex.com/discourse/discourse-org/)

So what you’re interested in changing may not be there yet

> <https://github.com/discourse/discourse/blob/main/config/locales/server.ru.yml#L1707-L1827>

As for images, I have seen mention of others having problems at times due to file type (IIRC it was SVG that was a problem)

But you may have a more serious issue.  
After you edit the setting and rebuild your app the new settings should have been applied. If not, it will be time to look through your logs.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 18, 2017, 4:04pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/6 "2017-02-18T16:04:45Z")

</div>

Yeah, when compared to English, the Russian YAML is missing a lot of keys for description and long\_description

> <https://github.com/discourse/discourse/blob/main/config/locales/server.en.yml#L3028-L3241>

---

<div class="post-metadata">

### Author: ![YesYesiAmKamil](https://avatars.discourse-cdn.com/v4/letter/y/6a8cbe/32.png) [@YesYesiAmKamil](https://meta.discourse.org/u/YesYesiAmKamil)
#### Post date: [February 18, 2017, 4:15pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/7 "2017-02-18T16:15:54Z")

</div>

I think l should describe the situation again.  
So i made this:

- i’m going to settings
- customize
- site texts (aka «Текстовое содержание» in Russian)
- trying to find smth like «Редактор»
- ok, i’ve found that
- trying to change badge name «Редактор» to smth new, ok, clicking «Save» = nothing changes.

BUT! This happens ONLY when i previously load the custom image to this badge. When i’m trying to edit title of badge with default image/icon everything is fine. After editting the default icon to custom one — i can’t edit title of that badge in «Site texts» section anymore.

I hope that you understand my situation.  
UPD. Trying te rebuild app — no effect.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [February 18, 2017, 4:22pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/8 "2017-02-18T16:22:15Z")

</div>

Hmmm. I don’t remember, but was having the image in the staff “assets” topic required?  
It wouldn’t hurt to try that I guess.

---

<div class="post-metadata">

### Author: ![YesYesiAmKamil](https://avatars.discourse-cdn.com/v4/letter/y/6a8cbe/32.png) [@YesYesiAmKamil](https://meta.discourse.org/u/YesYesiAmKamil)
#### Post date: [February 18, 2017, 4:38pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/9 "2017-02-18T16:38:03Z")

</div>

I’m adding custom image both to Icon section and to Image section. No effect. Trying to add image only in «Icon» or to «Image» — nothing.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 18, 2017, 4:41pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/10 "2017-02-18T16:41:46Z")

</div>

If you open the console window, press F12, do you see any errors when trying to perform those actions? If so, what are they? Do you see anything in /logs related to the actions you are performing?

---

<div class="post-metadata">

### Author: ![YesYesiAmKamil](https://avatars.discourse-cdn.com/v4/letter/y/6a8cbe/32.png) [@YesYesiAmKamil](https://meta.discourse.org/u/YesYesiAmKamil)
#### Post date: [February 18, 2017, 4:43pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/11 "2017-02-18T16:43:36Z")

</div>

Are you talking about terminal? Where i can find logs? Sorry, i’m a newbie.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 18, 2017, 4:46pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/12 "2017-02-18T16:46:10Z")

</div>

[example.com/logs](http://example.com/logs)

So if your discourse site is `example.com`, just append `/logs` after it

---

<div class="post-metadata">

### Author: ![YesYesiAmKamil](https://avatars.discourse-cdn.com/v4/letter/y/6a8cbe/32.png) [@YesYesiAmKamil](https://meta.discourse.org/u/YesYesiAmKamil)
#### Post date: [February 18, 2017, 4:50pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/13 "2017-02-18T16:50:23Z")

</div>

Hm, that’s it

 ![](https://global.discourse-cdn.com/meta/original/3X/5/1/51d489d0f4506273eb3415ce5eee2c4a9209e1a5.jpg)

As i see, there is nothing about badge title

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 18, 2017, 4:53pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/14 "2017-02-18T16:53:32Z")

</div>

Yup, nothing there. If you go back to the Admin \> Badges area, and press F12 to open the dev console, then perform the action that is failing, editing a badge with a custom image, what do you see in the dev console?

---

<div class="post-metadata">

### Author: ![YesYesiAmKamil](https://avatars.discourse-cdn.com/v4/letter/y/6a8cbe/32.png) [@YesYesiAmKamil](https://meta.discourse.org/u/YesYesiAmKamil)
#### Post date: [February 18, 2017, 4:58pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/15 "2017-02-18T16:58:05Z")

</div>

I cannot type f12 because of special function on this button (volume up on Mac/Windows) 😭

UPD, i open dev console through Safari

 ![](https://global.discourse-cdn.com/meta/original/3X/a/7/a713a18fbf1792abe488cb83e8ae0bc6fcc3e164.jpg)

UPD 2, some examples:

 ![](https://global.discourse-cdn.com/meta/original/3X/6/3/6371af5bbd62f4181b74898d872992cf2a31a18b.jpg) ![](https://global.discourse-cdn.com/meta/original/3X/c/d/cdc7de09476243cff74080da2a28366038687b35.jpg)

I expect that it’s not what we trying to find

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 18, 2017, 5:17pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/16 "2017-02-18T17:17:13Z")

</div>

Was that just opening the dev console or did you also attempt to alter a badge while that was open? As I still don’t see any errors related to editing a badge.

---

<div class="post-metadata">

### Author: ![YesYesiAmKamil](https://avatars.discourse-cdn.com/v4/letter/y/6a8cbe/32.png) [@YesYesiAmKamil](https://meta.discourse.org/u/YesYesiAmKamil)
#### Post date: [February 18, 2017, 5:46pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/17 "2017-02-18T17:46:40Z")

</div>

I’m trying to open console while the specific badge page open and also on the page where i can see all badges (in the admin settings section)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 18, 2017, 5:47pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/18 "2017-02-18T17:47:54Z")

</div>

I’d visit the badge you want to edit, open the dev console, set it to the side, then try and alter the badge. It should try and record any messages you might see when altering the badge in the dev console

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [February 18, 2017, 6:03pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/19 "2017-02-18T18:03:42Z")

</div>

I just tried on my localhost with the Anniversary Badge.

When I put the URL into “Image” and saved, I didn’t see any noticeable change.  
But when I put the URL into “Icon” and saved, the change was immediate.

---

<div class="post-metadata">

### Author: ![YesYesiAmKamil](https://avatars.discourse-cdn.com/v4/letter/y/6a8cbe/32.png) [@YesYesiAmKamil](https://meta.discourse.org/u/YesYesiAmKamil)
#### Post date: [February 18, 2017, 6:04pm UTC](https://meta.discourse.org/t/issue-with-badge-translate/57518/20 "2017-02-18T18:04:53Z")

</div>

That’s true. Now try to change the title of that badge. Nothing happens

[Next page](https://meta.discourse.org/t/issue-with-badge-translate/57518.md?page=2)
