Skip to content

Conversation

@dschom
Copy link
Contributor

@dschom dschom commented Nov 13, 2025

This would allow us to incorporate the emails.ftl file now that emails rendering has been moved to a shared library. @bcolsson I have tested this yet. The PR is mostly for illustration of what I think would need to change.

@dschom dschom requested a review from a team as a code owner November 13, 2025 22:29
@dschom dschom marked this pull request as draft November 13, 2025 22:30
@dschom dschom changed the title Experiment: Target new mails.ftl file Experiment: Target new emails.ftl file Nov 18, 2025
@dschom dschom force-pushed the new-emails-ftl-file branch from 0dc31b4 to b745c44 Compare November 19, 2025 00:33
Copy link
Contributor

@bcolsson bcolsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update, I was going to say we need to preserve the auth.ftl file since there's some strings that will seemingly continue to live in ./fxa-auth-server.

Untested on my end, but I suspect this will extract the strings copied to the libs/accounts/email-renderer folder properly.

Once we have the extraction script working as intended, we'll need to sync on when to merge this PR. We'll want to ensure the following happens in the same window:

  1. Make sure all strings are up to date by running old migration script and merging, then pausing syncing with Pontoon.
  2. Merging this workflow change
  3. Running the extract to create a PR picking up the source strings in the new library
  4. Running script you mentioned in https://mozilla-hub.atlassian.net/browse/FXA-12597 to copy translations for new strings in emails.ftl from auth.ftl for all locales, (adding those changes to the PR generated in 2, or a new PR after merging 2)
  5. Review and merge string PRs
  6. Remove duplicate strings from fxa-auth-server / run extract script to remove duplicates from auth.ftl
  7. Re-enable Pontoon sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants