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.

Извините, что поднимаю эту тему. Один из моих пользователей завершил весь учебник Discobot, но изображение сертификата не загрузилось. Я думаю, это потому, что его имя на японском языке. Эта ошибка всё ещё существует: если имя не на английском, SVG-файл сертификата не может быть сгенерирован?

Существовала другая тема об этом, но она закрыта: Bug when discobot assigns the name in the certificate - #24

Хм, похоже, у этого человека была та же ошибка, что и у меня: https://meta.discourse.org/t/discobot-tutorial-certificate-blank/86925/9

После проверки правил моего фаервола я уже разрешаю входящие соединения по HTTP и HTTPS:

Получил ли пользователь хотя бы значок?

На мой взгляд, сертификат — это просто новинка.

Да, они получили значок.

Какой URL форума и идентификатор пользователя?

Я отправил это вам в личные сообщения.

Есть ли какие-то новости по этому вопросу? Проблема с недействительными сертификатами, похоже, затрагивает всех пользователей моего сайта.

Что происходит, когда вы, как администратор, пытаетесь загрузить /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=2020-07-20&user_id=16

?

На сервере что-то настроено неправильно.

Ссылка: https://forum.duelistsunite.org/discobot/certificate.svg?date=Jul+21+2020&user_id=18

вызывает проблему с датой.

Я не вижу SVG. Вместо него отображается сообщение о дате. Я использую официальный образ Discourse. Всё остальное работает. Discourse Doctor не показывает ошибок. Пересборка через launcher тоже ничего не выявила. Что могло быть настроено некорректно в отношении даты?

является ли discourse local dates default timezones допустимой часовой зоной?

[Редактирование] На случай, если вам нужно проверить допустимые часовые пояса: