Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Broken new user invitation email in Spanish

Scheduled Pinned Locked Moved Solved Support
spanishtranslations
3 Posts 2 Posters 222 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • andres.moyaA Offline
    andres.moyaA Offline
    andres.moya
    wrote on last edited by girish
    #1

    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.

    nebulonN 1 Reply Last reply
    3
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    replied to andres.moya on last edited by
    #2

    @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 box
    

    This 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.

    1 Reply Last reply
    3
  • andres.moyaA Offline
    andres.moyaA Offline
    andres.moya
    wrote on last edited by
    #3

    Thanks very much! I've tested it and now it works ok.

    Will you be able to run your tests multi language? 😁

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.