Translate discobot tutorial certificate?

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)?

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

Had already answered but the response was canceled cleaning the topic Discourse Narrative Bot Beta Feedback

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.

Only

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

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):

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?

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

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 font is used.

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

Desculpe por ressuscitar este tópico. Um dos meus usuários completou todo o tutorial do discobot, mas a imagem do certificado não carregou. Acredito que seja porque o nome dele está em japonês. Esse bug ainda existe, onde, se o nome não estiver em inglês, o SVG do certificado não consegue ser gerado?

Outro tópico sobre isso foi postado, mas está fechado: Bug when discobot assigns the name in the certificate - #24

Hmm, parece que esse cara teve o mesmo bug que eu: https://meta.discourse.org/t/discobot-tutorial-certificate-blank/86925/9

Ao verificar minhas regras de firewall, já permito tráfego de entrada em HTTP e HTTPS:

O usuário pelo menos recebeu o distintivo?

Na minha opinião, acho que o certificado é apenas uma curiosidade.

Sim, eles receberam o distintivo.

Qual é a URL do fórum e o ID do usuário?

Enviei para você via MP.

Alguma atualização sobre isso? Certificados quebrados parecem estar acontecendo para todos os usuários do meu site.

O que acontece quando você, como administrador, tenta carregar /discobot/certificate.svg?date=Jul+21+2020&user_id=1?

Aqui está um exemplo: https://forum.duelistsunite.org/discobot/certificate.svg?date=Jul+20+2020&user_id=16

A mensagem diz: “Você forneceu parâmetros inválidos para a solicitação: a data deve estar presente”.

Se eu visitar o perfil deles, eles têm o distintivo.

Você consegue carregar

https://forum.duelistsunite.org/discobot/certificate.svg?date=2020-07-20&user_id=16

?

Algo não está configurado corretamente no servidor.

O link: https://forum.duelistsunite.org/discobot/certificate.svg?date=Jul+21+2020&user_id=18

me retorna um problema de data.

Não consigo ver o SVG. Ele exibe a mensagem sobre a data. Estou usando a imagem oficial do Discourse. Tudo mais está funcionando para mim. O Discourse Doctor não mostra erros. O rebuild do launcher também não indica nada. O que pode estar configurado incorretamente em relação à data?

seu discourse local dates default timezones é um fuso horário válido?

[Edit] Caso precise verificar seus fusos horários válidos: