element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.04k stars 1.96k forks source link

Send email invitations to room for new users in current Riot language #4509

Closed MurzNN closed 2 years ago

MurzNN commented 7 years ago

At now Riot send mail invitations to room for new users in English language, which not all people knows. Will be good if Riot looks at current user language and send email in current language.

lampholder commented 7 years ago

This would be really nice.

OOI - does Synapse/Sydent know the user's language choice, or is that purely a locally-configured client-side option?

MTRNord commented 7 years ago

@lampholder currently it is client side I think.

t3chguy commented 7 years ago

it might be in account_data ?

lampholder commented 7 years ago

I can't remember whether Synapse or Sydent is responsible for the sending of email invitations, but the bigger problem for now seems to be that the information we need lives client side (inaccessible by both Synapse and Sydent)

If all the data we need is client side, then we either need to:

Alternatively, we could:

harcesz commented 7 years ago

I've no idea of the structure here, but really need localized invitations for a few hundred people in a single batch, maybe more later. Even if there were any sort of a hack to do it now, would be good, but for invitations in general; predifining to users language, and an option to pick another one from a list of available languages would suit.

Also, we should have full Polish translations of everything riot by Monday :]

miztizm commented 5 years ago

its needs to be localized and customized, thanks

thumbs up!

dtcg commented 3 years ago

Is there a way to contribute to this, language-wise? Is Element part of some localizing platform like https://weblate.org ? I'd be happy to translate emails and stuff to my native language (not English).

harcesz commented 3 years ago

@dtcg https://github.com/vector-im/element-web#translations

SimonBrandner commented 3 years ago

IIRC, the email notifications get sent by the homeserver, so this would probably need to be added to Synapse/Dendrite..., right?

t3chguy commented 3 years ago

@SimonBrandner exactly correct, except also to the Identity Server e.g Sydent

SimonBrandner commented 3 years ago

Also, the correct timezone should be used (#1563)

t3chguy commented 2 years ago

Closing in favour of https://github.com/matrix-org/synapse/issues/2808