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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. How do I check / customize mail notification strings?

How do I check / customize mail notification strings?

Scheduled Pinned Locked Moved Solved Support
emailtranslations
14 Posts 3 Posters 440 Views 3 Watching
  • 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.
    • potemkin_aiP Offline
      potemkin_aiP Offline
      potemkin_ai
      wrote on last edited by joseph
      #1

      I'm looking to check and customize mail notification strings from https://git.cloudron.io/platform/box/-/blob/649c06b6419386e6ca808a097d6b461020fc1ead/src/mail_templates/new_login_location-text.ejs file - I can see you are using weblate, but can't find a way to see it... how do I do that?

      1 Reply Last reply
      1
      • J Online
        J Online
        joseph
        Staff
        wrote on last edited by
        #2

        Currently, they aren't customizable . From the dev team - the email templates were just added some releases ago, and we will wait for a few releases so they are standarized and translatable

        potemkin_aiP 1 Reply Last reply
        2
        • J joseph marked this topic as a question on
        • J joseph has marked this topic as solved on
        • J joseph

          Currently, they aren't customizable . From the dev team - the email templates were just added some releases ago, and we will wait for a few releases so they are standarized and translatable

          potemkin_aiP Offline
          potemkin_aiP Offline
          potemkin_ai
          wrote on last edited by
          #3

          @joseph got it, thanks. Would it be possible to remove 'Cloudron' from the mails templates in all languages then, as a part of white-label-ization in progress, please?

          1 Reply Last reply
          4
          • potemkin_aiP Offline
            potemkin_aiP Offline
            potemkin_ai
            wrote on last edited by
            #4

            Bumping this up

            1 Reply Last reply
            1
            • potemkin_aiP Offline
              potemkin_aiP Offline
              potemkin_ai
              wrote on last edited by
              #5

              Ok, let me rephrase my wish: could you please, make e-mails respect Cloudron name, as stated in the docs: https://docs.cloudron.io/branding/#cloudron-name?

              I can see currently in the e-mails direct mention of 'Cloudron', which I would rather not have, to avoid any possible confusion, on top of anything else.

              1 Reply Last reply
              2
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by girish
                #6

                @potemkin_ai for the moment, you can edit that file and remove that line , until we get around to templating it. this line has been there forever, so it's not immediate priority to change this for next release.

                1 Reply Last reply
                0
                • potemkin_aiP Offline
                  potemkin_aiP Offline
                  potemkin_ai
                  wrote on last edited by
                  #7

                  @girish understand on not a priority - makes perfect sense.
                  Where do I remove that from? Where are localized strings stored in deployed Cloudron instance?

                  1 Reply Last reply
                  0
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    @potemkin_ai that line is not translated . you can just remove the line from /home/yellowtent/box/src/mail_templates/*.ejs files . no need to restart the box code also .

                    1 Reply Last reply
                    0
                    • potemkin_aiP Offline
                      potemkin_aiP Offline
                      potemkin_ai
                      wrote on last edited by
                      #9

                      @girish , I'm not referring to 'Powered by Cloudron' line - I was referring to 'Cloudron' direct mention in the title of the mail, for example - and I can't see it's being anywhere in the template - that's why I asked for localization.

                      you can just remove the line from /home/yellowtent/box/src/mail_templates/*.ejs files

                      Guess they will be overwritten on every update, wouldn't they?

                      1 Reply Last reply
                      0
                      • girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #10

                        @potemkin_ai /home/yellowtent/box/dashboard/dist/translation/<lang>.json has those . you can search for newLoginEmail key and there are subkeys providing translations .

                        yes, they will get overwritten on update. best to save a copy of the file to merge it later .

                        potemkin_aiP 1 Reply Last reply
                        0
                        • girishG girish

                          @potemkin_ai /home/yellowtent/box/dashboard/dist/translation/<lang>.json has those . you can search for newLoginEmail key and there are subkeys providing translations .

                          yes, they will get overwritten on update. best to save a copy of the file to merge it later .

                          potemkin_aiP Offline
                          potemkin_aiP Offline
                          potemkin_ai
                          wrote on last edited by
                          #11

                          @girish Ok. And could you please, answer on my initial question, regarding the actual lines that are replaced inside the template?

                          Like I've told, I'm not referring to 'Powered by Cloudron' - I'm referring to the lines you have in Weblate.

                          1 Reply Last reply
                          0
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #12

                            @potemkin_ai not 100% sure what the exact question is. The translations in weblate contains Cloudron in it. The json files are downloaded directly from weblate. The email is generated by search/replace of the keys in the ejs file with the translations in the json .

                            potemkin_aiP 1 Reply Last reply
                            0
                            • girishG girish

                              @potemkin_ai not 100% sure what the exact question is. The translations in weblate contains Cloudron in it. The json files are downloaded directly from weblate. The email is generated by search/replace of the keys in the ejs file with the translations in the json .

                              potemkin_aiP Offline
                              potemkin_aiP Offline
                              potemkin_ai
                              wrote on last edited by
                              #13

                              @girish my bad, you covered it all, it's just me who just got what you meant - apologies and thanks for keeping explaining.

                              1 Reply Last reply
                              1
                              • potemkin_aiP Offline
                                potemkin_aiP Offline
                                potemkin_ai
                                wrote on last edited by
                                #14

                                Could you please convert that thread into a request to remove 'Cloudron' from the mail templates as well as from translation files, please?

                                1 Reply Last reply
                                2
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                  • Login

                                  • Don't have an account? Register

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