Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear behavior when serializing XLIFF with xml:space="preserve" #3517

Open
flodolo opened this issue Jan 9, 2025 · 1 comment
Open

Unclear behavior when serializing XLIFF with xml:space="preserve" #3517

flodolo opened this issue Jan 9, 2025 · 1 comment
Labels
bug P2 We want to ship it soon, possibly in the current quarter sync

Comments

@flodolo
Copy link
Collaborator

flodolo commented Jan 9, 2025

I haven't been able to figure out Pontoon's behavior when it comes to serializing XLIFF files for the VPN Client project, and I would like to avoid a constant fight in automation.

The source locales (en) has multiple files, only 2 of them use xml:space="preserve:

I've been going back and forth, removing and adding that attribute to all files, trying to understand what Pontoon prefers.

Right now, it seems to be adding it, but not consistently across locales
mozilla-l10n/mozilla-vpn-client-l10n@1ce9024

A side question is if we can stop updating other locales with the new sync prod. Will an update to the English file trigger changes across the board (adding missing strings to all localized files, and missing files)?

@flodolo
Copy link
Collaborator Author

flodolo commented Jan 13, 2025

Here's an example of this morning of the back and forth (automation is removing the attribute that Pontoon added, but only for some locales): https://github.com/mozilla-l10n/mozilla-vpn-client-l10n/pull/511/files

@mathjazz mathjazz added P2 We want to ship it soon, possibly in the current quarter bug labels Jan 13, 2025
@mathjazz mathjazz moved this from 🆕 Needs triage to 🔖 Ready in Pontoon Roadmap Jan 13, 2025
@flodolo flodolo changed the title Unclear behavior when serializing XLIFF with xml:space="preserve Unclear behavior when serializing XLIFF with xml:space="preserve" Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug P2 We want to ship it soon, possibly in the current quarter sync
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants