tl;dr: We’d like to update the Test Pilot to the new version of the FTL syntax. The changes are minimal but require coordination wrt. the Pontoon integration and the release cycle.
Since Test Pilot started using L20n we’ve made a number of changes to the syntax to improve its readability. I’d like to plan the migration of the translations used by the Test PIlot website to the new syntax. The required changes are few: I’ve created a pull request in a testing repo to demonstrate them: https://github.com/mathjazz/testpilot/pull/1/files.
We’d like to take advantage of Pontoon to do the migration. The order of required steps is as follows:
- stas submits a PR to
en-USfiles using the new syntax and upgrading
l20n.jsto a new version
- mathjazz disables the Pontoon sync for
- the PR is merged into master
- mathjazz runs a one-off migration in Pontoon’s database
- mathjazz force-syncs updated translations from Pontoon to
- mathjazz re-enables the Pontoon sync
We’d like for all of this happen right after the start of a new dev cycle for Test Pilot. We’ve been tentatively thinking about the April 25-May 9 cycle. Does this timing work for you?
In https://github.com/mozilla/testpilot/issues/1714 we’re also talking about moving away from
fluent-react. I think it will be safer to switch to
fluent-react after we migrate all translations using an upgraded
l20n.js. This will help avoid the risk of having to roll back the migration in Pontoon in case something goes wrong with
fluent-react. (It shouldn’t but just to be sure.)
I’m looking for feedback on the plan outlined above. I’ll create the PR to
mozilla/testpilot when I get a go-ahead from the Test Pilot team.