Localize server-generated email notifications and confirmation emails#139
Draft
Copilot wants to merge 3 commits into
Draft
Localize server-generated email notifications and confirmation emails#139Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
Agent-Logs-Url: https://github.com/ether/ep_email_notifications/sessions/f3033cd5-8920-4012-9ab7-06a01e394045 Co-authored-by: JohnMcLear <220864+JohnMcLear@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ether/ep_email_notifications/sessions/f3033cd5-8920-4012-9ab7-06a01e394045 Co-authored-by: JohnMcLear <220864+JohnMcLear@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add i18n support for email translations
Localize server-generated email notifications and confirmation emails
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Email subjects and bodies were still hard-coded in English, so recipients always received English emails regardless of the plugin locale setup. This change moves email content into the existing locale files and carries the subscriber’s language through the subscription flow so later notifications use the same locale.
Email i18n
locales/*.jsonstructure instead of introducing a separate translation path.Server-side template resolution
emailTemplates.jsto resolve locale, apply fallback toen, and interpolate dynamic values such aspadId,padUrl, and confirmation links.handleMessage.jsandupdate.jsto build email subject/body from localized templates rather than inline strings.Persist recipient locale
Fallback behavior
fr-CA/de-DEto supported plugin locales.