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)?
AI-generated summary
The discussion revolves around translating the Discobot tutorial certificate and generating certificates for users with non-English names. gxjansen initiated the conversation, asking about translating the certificate text or uploading custom backgrounds. tgxworld mentioned that only a specific locale file is translatable, while the rest of the text is part of an SVG.
Lure shared their experience translating the Discobot certificate for Slovenian, but encountered issues with font support for non-English characters. gerhard suggested shipping customized SVGs for each language, but acknowledged the complexity of translating text within the SVG.
AntiMetaman reported an issue with generating certificates for users with non-English names, which led to a discussion about the potential cause. Falco and IAmGav investigated the issue, suspecting a configuration problem with the server. After some troubleshooting, AntiMetaman discovered that the issue was related to Cloudflare settings and shared a solution for users with similar problems.
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 - #190 by tophee
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.
죄송하지만 이 스레드를 다시 올려야 할 것 같습니다. 제 사용자 중 한 명이 discobot 튜토리얼을 모두 완료했지만, 인증서 이미지가 로드되지 않았습니다. 이름이 일본어이기 때문이라고 생각합니다. 이름이 영어가 아닐 경우 인증서의 SVG가 생성되지 않는 버그가 여전히 존재합니까?
이와 관련된 다른 스레드가 게시되었으나 닫혀 있습니다: Bug when discobot assigns the name in the certificate - #23 by Mittineague
음, 이 사용자는 저와 같은 버그를 겪었던 것 같습니다: https://meta.discourse.org/t/discobot-tutorial-certificate-blank/86925/9
파이어월 규칙을 확인해 보니, http와 https에 대한 수신은 이미 허용되어 있습니다:
사용자가 최소한 배지는 받았나요?
제 생각에는 그 인증서는 그냥 장난감 같은 것 같습니다.
네, 배지를 받았습니다.
포럼 URL과 사용자 ID는 무엇입니까?
개인 메시지로 보냈습니다.
이 문제에 대해 업데이트가 있나요? 제 사이트의 모든 사용자들에게 인증서 오류가 발생하는 것 같습니다.
관리자로 로그인한 상태에서 /discobot/certificate.svg?date=Jul+21+2020&user_id=1 을 로드하려고 하면 어떤 일이 발생합니까?
예시를 하나 들어볼게요: https://forum.duelistsunite.org/discobot/certificate.svg?date=Jul+20+2020&user_id=16
여기에는 "요청에 잘못된 매개변수를 제공했습니다: date가 필수입니다"라고 나와 있습니다.
해당 사용자의 프로필을 방문하면 배지가 표시되어 있습니다.
서버에서 무언가가 올바르게 설정되어 있지 않습니다.
링크: https://forum.duelistsunite.org/discobot/certificate.svg?date=Jul+21+2020&user_id=18
이 링크에서 날짜 관련 문제가 발생합니다.
SVG가 보이지 않습니다. 날짜에 대한 메시지가 표시됩니다. 공식 discourse 이미지를 사용하고 있습니다. 다른 모든 기능은 정상적으로 작동합니다. discourse doctor에서는 오류가 표시되지 않으며, launcher rebuild에서도 아무것도 표시되지 않습니다. 날짜와 관련하여 무엇이 제대로 설정되지 않았을 수 있을까요?
your 'discourse local dates default timezones'은 유효한 타임존인가요?
[Edit] 유효한 tz를 확인해야 하는 경우를 대비해:


