# Translate discobot tutorial certificate?

**URL:** https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608
**Category:** Support
**Created:** [August 23, 2017, 11:11am UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608 "2017-08-23T11:11:56Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![gxjansen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gxjansen/32/76400_2.png) [@gxjansen](https://meta.discourse.org/u/gxjansen)
#### Post date: [August 23, 2017, 11:11am UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/1 "2017-08-23T11:11:56Z")

</div>

Is there a way to translate the text on the discobot tutorial certificate? Or a way to upload our own background that’s used for the certificate (so we can just edit the text on the image)?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [August 23, 2017, 4:18pm UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/2 "2017-08-23T16:18:14Z")

</div>

Hmm, I’m not sure if that’s possible or not. @tgxworld?

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [August 23, 2017, 5:41pm UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/3 "2017-08-23T17:41:46Z")

</div>

Had already answered but the response was canceled cleaning the topic [Discourse Narrative Bot Beta Feedback - #190 by tophee](https://meta.discourse.org/t/discourse-narrative-bot-beta-feedback/58621/190)

If I remember correctly the problem was something related to the rendering in other languages, that’s why he used an image, but months have passed, I might be wrong.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [August 24, 2017, 12:41am UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/4 "2017-08-24T00:41:43Z")

</div>

Only

> <https://github.com/discourse/discourse/blob/main/plugins/discourse-narrative-bot/config/locales/server.en.yml#L148>

is translatable. The other “text” are actually vectors within an SVG.

---

<div class="post-metadata">

### Author: ![Lure](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lure/32/130462_2.png) [@Lure](https://meta.discourse.org/u/Lure)
#### Post date: [March 2, 2019, 6:00am UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/5 "2019-03-02T06:00:11Z")

</div>

I have translated the entire discobot into Slovenian and noticed that only one string on the certificate is translated. However, even this string uses a font that does not support all Slovenian characters (č, š, ž are being replaced with a fallback font):

 ![certificate](https://global.discourse-cdn.com/meta/original/3X/6/7/673e6c8c059166bdfbdfda3ab4433fa5bd220e26.svg)

Are there any plans to improve this certificate generation, or is it better to assume that the certificate is non-translatable and leave it in English?

---

<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: [March 2, 2019, 6:33am UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/6 "2019-03-02T06:33:38Z")

</div>

Appreciate the effort.. this one is tricky, since the vector “art” and the words are intertwined.

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [March 2, 2019, 11:35am UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/7 "2019-03-02T11:35:28Z")

</div>

Translating text in that SVG is nearly impossible, because most “text” is actually a vector. I guess we could start shipping customized SVGs for each language. Translators would need to create SVGs which work for their language by moving stuff around to make room for longer words etc.

Also, we might need to use a different font for the name when we start supporting Unicode usernames. Currently the [Tangerine](https://www.fontsquirrel.com/fonts/tangerine) font is used.

---

<div class="post-metadata">

### Author: ![Lure](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lure/32/130462_2.png) [@Lure](https://meta.discourse.org/u/Lure)
#### Post date: [March 2, 2019, 12:07pm UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/8 "2019-03-02T12:07:58Z")

</div>

I understand - for now, I will just fallback to English-only, no translation version.

---

<div class="post-metadata">

### Author: ![AntiMetaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/antimetaman/32/186978_2.png) [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)
#### Post date: [July 19, 2020, 10:26pm UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/10 "2020-07-19T22:26:09Z")

</div>

I’m sorry to bump this. One of my users completed the entire discobot tutorial but their certificate image didn’t load. I think it’s because their name is in Japanese. Does this bug still exist where if the name is not in English, the svg of the certificate can’t generate?

Another thread about this was posted but is closed: [Bug when discobot assigns the name in the certificate - #24](https://meta.discourse.org/t/bug-when-discobot-assigns-the-name-in-the-certificate/64220/24)

Hmm, it seems this guy had the same bug I did: [https://meta.discourse.org/t/discobot-tutorial-certificate-blank/86925/9](https://meta.discourse.org/t/discobot-tutorial-certificate-blank/86925/9)

Upon looking at my firewall rules, I already allow incoming on http and https:

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/6/36666ada9c4d1ea3462dc2045f3946135822b38f.png)

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [July 19, 2020, 10:47pm UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/11 "2020-07-19T22:47:59Z")

</div>

Did the user at-least get the badge ?

IMO, I think the cert is just a novelty

---

<div class="post-metadata">

### Author: ![AntiMetaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/antimetaman/32/186978_2.png) [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)
#### Post date: [July 19, 2020, 10:50pm UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/12 "2020-07-19T22:50:41Z")

</div>

Yes they got the badge.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [July 20, 2020, 12:57am UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/13 "2020-07-20T00:57:22Z")

</div>

What is the forum URL and the user ID?

---

<div class="post-metadata">

### Author: ![AntiMetaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/antimetaman/32/186978_2.png) [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)
#### Post date: [July 20, 2020, 1:15am UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/14 "2020-07-20T01:15:58Z")

</div>

I sent it to you via PM.

---

<div class="post-metadata">

### Author: ![AntiMetaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/antimetaman/32/186978_2.png) [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)
#### Post date: [July 21, 2020, 2:18am UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/15 "2020-07-21T02:18:43Z")

</div>

Any updates on this? Broken certificates seem to be happening for all users on my site.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [July 21, 2020, 3:42am UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/16 "2020-07-21T03:42:52Z")

</div>

> [@AntiMetaman](#):
>
> Broken certificates seem to be happening for all users on my site.

What happens when you, as admin, try to load `/discobot/certificate.svg?date=Jul+21+2020&user_id=1` ?

---

<div class="post-metadata">

### Author: ![AntiMetaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/antimetaman/32/186978_2.png) [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)
#### Post date: [July 21, 2020, 5:09am UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/17 "2020-07-21T05:09:24Z")

</div>

> [@Falco](#):
>
> /discobot/certificate.svg?date=Jul+21+2020&user\_id=1

Here is an example: [https://forum.duelistsunite.org/discobot/certificate.svg?date=Jul+20+2020&user\_id=16](https://forum.duelistsunite.org/discobot/certificate.svg?date=Jul+20+2020&user_id=16)

It says, " You supplied invalid parameters to the request: date must be present".

If I visit their profile, they have the badge.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [July 21, 2020, 6:41pm UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/18 "2020-07-21T18:41:14Z")

</div>

Can you load

[https://forum.duelistsunite.org/discobot/certificate.svg?date=2020-07-20&user\_id=16](https://forum.duelistsunite.org/discobot/certificate.svg?date=2020-07-20&user_id=16)

?

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [July 21, 2020, 7:18pm UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/19 "2020-07-21T19:18:08Z")

</div>

something is not correctly set on the server.

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/f/5fb475b0b20f63f1c27d88d5666888bb37e4dbe1.png)

the link: [https://forum.duelistsunite.org/discobot/certificate.svg?date=Jul+21+2020&user\_id=18](https://forum.duelistsunite.org/discobot/certificate.svg?date=Jul+21+2020&user_id=18)

gives me a date issue

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/c/ac41a0c19dbee43a433c2af33f7c202d7ff9550d.png)

---

<div class="post-metadata">

### Author: ![AntiMetaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/antimetaman/32/186978_2.png) [@AntiMetaman](https://meta.discourse.org/u/AntiMetaman)
#### Post date: [July 21, 2020, 7:36pm UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/20 "2020-07-21T19:36:38Z")

</div>

I cannot see the svg. It shows the message about the date. I’m using the official discourse image. Everything else works for me. The discourse doctor shows no errors. The launcher rebuild shows nothing. What could not be correctly configured with regards to the date?

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [July 21, 2020, 7:43pm UTC](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608/21 "2020-07-21T19:43:41Z")

</div>

is your` 'discourse local dates default timezones'` a valid timezone ?

[Edit] For incase you need to check your valid tz:

> **[PHP: List of Supported Timezones - Manual](https://www.php.net/manual/en/timezones.php)**
>
> List of Supported Timezones

[Next page](https://meta.discourse.org/t/translate-discobot-tutorial-certificate/68608.md?page=2)
