Broken new user invitation email in Spanish
-
Hello. I have a problem with the new user invitation email.
I changed the UI language of my cloudron server to spanish, and now the invitation email is sent completely empty. If I change back to english, the email is ok. It seems that there is something broken in the spanish translation for the email templates.
Looking at https://translate.cloudron.io/translate/cloudron/dashboard/es/?offset=1&q=welcomeEmail&sort_by=-priority%2Cposition&checksum= I see two keys (welcomeTo and subject) that contain a "@" character ("Bienvenid@ a Cloudron"). Perhaps this is confusing the template system and causing an error.
I don't know how this work. Perhaps this character may be escaped, or else the string changed to "Bienvenido/a", that is also a standard spanish way of having a gender neutral expression (I'm native speaking spanish).
Meanwhile, do you know any workaround we can use, until this is solved? Thanks.
-
Hello. I have a problem with the new user invitation email.
I changed the UI language of my cloudron server to spanish, and now the invitation email is sent completely empty. If I change back to english, the email is ok. It seems that there is something broken in the spanish translation for the email templates.
Looking at https://translate.cloudron.io/translate/cloudron/dashboard/es/?offset=1&q=welcomeEmail&sort_by=-priority%2Cposition&checksum= I see two keys (welcomeTo and subject) that contain a "@" character ("Bienvenid@ a Cloudron"). Perhaps this is confusing the template system and causing an error.
I don't know how this work. Perhaps this character may be escaped, or else the string changed to "Bienvenido/a", that is also a standard spanish way of having a gender neutral expression (I'm native speaking spanish).
Meanwhile, do you know any workaround we can use, until this is solved? Thanks.
@andres-moya alright, after debugging this, it turns out to not be related to the "@" character, but broken translations. There were a couple of syntax errors in the translated spanish strings, which I have fixed up now.
To fix current Cloudrons, please log in via SSH and run the following two commands as root:
cloudron-translation-update systemctl restart boxThis will fetch latest translations and then reload them for the mail templating code.
Generally it shows that we don't yet have a good way to lint or verify translations for syntax errors.
-
Thanks very much! I've tested it and now it works ok.
Will you be able to run your tests multi language?

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login