#Localized email notifications

1 messages · Page 1 of 1 (latest)

spark mulch
#

Hi, how can I set the emails Immich sends to be sent in the language each user connected to my Immich server sets up on first login?

Different parts of my family speak two different languages, I would like for my 80-something year old grandma to get the email notifications in a language she actually understands, rather than just English.

Is there a setting I missed somewhere?

Thank you

warm patrol
#

That's currently not supported

#

You can change the email template though, so assuming everyone in your family is familiar with one langauge, you can write the templates in that language

spark mulch
#

Thank you. Is there a GitHub issue for this, or should I make one? Is this even technically feasible?

Unfortunately, not everyone in my family is familiar with a single common language.

warm patrol
#

With us allowing you to customize the template it's probably not really feasible, at least from a user experience POV

#

I'm not really sure how that would look like tbh

#

But yes, there is a feature request for it already #20001

proven sequoiaBOT
spark mulch
#

Thank you. Would a stopgap solution of allowing multiple email templates based on the user's preferred language be possible? Does the server itself keep track of each client's preferred language?

This would be a great QOL improvement for me, since my family is scattered across 3 different countries on 3 different continents, and my Immich instance is the only way we can feasibly share photos between each other. Other than the emails, the localization of Immich is really good.

warm patrol
#

Does the server itself keep track of each client's preferred language?
Yes.

Would a stopgap solution of allowing multiple email templates based on the user's preferred language be possible?
That would require you being able to add new templates for every language you want to support

#

That quickly becomes hugeeeee and probably requires its own page at this point, since you're now building a full-fledged template builder

#

Idk, I'm not saying we won't ever do that, I think there's a chance we will. It's definitely a UX challenge though

spark mulch
warm patrol
#

I don't understand

spark mulch
#

No problem, I might be the one misunderstanding the way this works on the server side.

The app and webUI both have ways to translate them via Weblate, could the text strings inside the default email templates shipped with Immich also be translatable using Weblate?

warm patrol
#

They could, but given you can change the template that just falls apart immediately

spark mulch
warm patrol
#

I guess? It just feels like a monkey-patched/half baked solution to me tbh

spark mulch
#

Yeah, it is definitely hacky, but it would definitely solve my individual problem, but I understand that this isn't really a great justification to implement things that way.

#

For the time being, can I disable email notifications on a per-user basis? That way I can stop the emails for parts of my family that just won't understand them?

warm patrol
#

Yeaaaah, we try to do things properly instead of "wasting" development effort on a solution we know doesn't have a future 😅

spark mulch
#

For my last question, is there a way I can globally change just the baseUrl sent out in the emails, without rewriting the entire email template?

warm patrol
spark mulch
#

I understand that I'm supposed to enter my own domain at my.immich.app, but I struggle to explain this to my 60-something parents who have no idea how any of this works, and I'd just like the emails to point them directly to my domain.

warm patrol
#

That's not what I'm saying

#

Open that link, it'll bring you to the setting where you can configure the "external domain" that's (among others) used in the email template

spark mulch
#

Sorry, the link didn't open the correct settings location on first try. I see it now.

warm patrol
#

Ah

spark mulch
#

Got it now. I didn't see the option to set the server's base URL because I was trying to find this under the "Email" section of the settings and Immich docs. Searching for "URL" or "Base URL" in the Immich docs and server settings also show anything.