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.

3 Mi Piace

Only

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

4 Mi Piace

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?

3 Mi Piace

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.

6 Mi Piace

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

2 Mi Piace

Mi scuso per aver ripreso l’argomento. Uno dei miei utenti ha completato l’intero tutorial di discobot, ma l’immagine del certificato non si è caricata. Penso che sia perché il suo nome è in giapponese. Esiste ancora questo bug per cui, se il nome non è in inglese, l’SVG del certificato non viene generato?

È stato pubblicato un altro thread a riguardo, ma è chiuso: Bug when discobot assigns the name in the certificate - #24

Hmm, sembra che questo utente abbia avuto lo stesso bug che ho avuto io: https://meta.discourse.org/t/discobot-tutorial-certificate-blank/86925/9

Dopo aver esaminato le regole del mio firewall, ho già consentito le connessioni in ingresso su HTTP e HTTPS:

Il badge è stato almeno ottenuto dall’utente?

A mio avviso, il certificato è solo una novità

Sì, hanno ottenuto il badge.

Qual è l’URL del forum e l’ID utente?

Te l’ho inviato tramite messaggio privato.

Ci sono aggiornamenti a riguardo? Sembra che i certificati non validi stiano interessando tutti gli utenti del mio sito.

Cosa succede quando tu, come amministratore, provi a caricare /discobot/certificate.svg?date=Jul+21+2020&user_id=1?

Ecco un esempio: https://forum.duelistsunite.org/discobot/certificate.svg?date=Jul+20+2020&user_id=16

Dice: “Hai fornito parametri non validi alla richiesta: la data deve essere presente”.

Se visito il loro profilo, hanno il distintivo.

Puoi caricare

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

?

Qualcosa non è configurato correttamente sul server.

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

mi restituisce un problema relativo alla data

Non riesco a vedere l’SVG. Viene visualizzato il messaggio relativo alla data. Sto utilizzando l’immagine ufficiale di Discourse. Tutto il resto funziona correttamente per me. Discourse Doctor non segnala errori. Il riavvio del launcher non mostra nulla. Cosa potrebbe non essere configurato correttamente riguardo alla data?

è ‘discourse local dates default timezones’ un fuso orario valido?

[Edit] Nel caso in cui tu debba verificare i fusi orari validi:

1 Mi Piace