geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
404 stars 481 forks source link

Multilingual Emails #7966

Open tylerjmchugh opened 2 months ago

tylerjmchugh commented 2 months ago

Is your feature request related to a problem? Please describe. Emails are sent in the UI language of the sender regardless of the preferences of the receiver.

Describe the solution you'd like A configuration field in settings>feedback to specify which languages to send emails in. Email messages for all specified languages will be concatenated with a separator. Another configuration field to specify the "translation follows" label at the start of the email. (Can include multiple languages). If these fields are left empty, default back to the UI language.

Additional context image image

Working on a PR

josegar74 commented 2 months ago

The proposal looks good. Maybe to check if can be used typeahead to select the languages, similar to what is used in https://github.com/geonetwork/core-geonetwork/pull/7849

It can be good to consider to add a preferred language to the user profile. So that way emails and the user interface, by default use the configuration of the user. But this is not really required.