Duplicated entries in xlf file
When compiling one of our apps duplicate entries for a translation (trans-unit-id) are created in g.xlf file. In total 4 trans-unit-ids are duplicated.
Screenshots below show these entries:
first occurence of the first two entries

first occurence of second two entries

duplicate entries (second occurence of entries - same frame color marks corresponding entries from above screenshots):

It seems that duplication is caused by page customization objects. All controls with duplicated captions were added in page extension as well as used in page customization to move them to another position.

Issue occured the first time when making some minor changes in the app.
Issue can be reproduced by compiling the app with actual AL extension (Version: 5.0.270354).
NOTE I cannot share the source code via GitHub because it's our IP.
Hi @makuhn, thank for reporting the issue. This is a bug, I put corresponding label. It will be fixed in the next releases.
ALProject46.zip Project to repro the issue
@AndreyKorepanov @JesperSchulz Any news to this issue? It is meanwhile open for more than half a year.
Looping in @atoader, as this repository is managed by his team.
The issue is in our backlog, but we have not started working on it. I will post an overview of how we prioritize issues coming in from GitHub over the following weeks to offer more visibility into the process.
@atoader Are there any news regarding this issue?
@atoader any news regarding this issue?
@atoader has left Microsoft years ago, please leave him be ;-) @BazookaMusic can you take over?
There is a repro, marking this for triage.
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 25.0.18947.0 and VS Code Extension Version 14.0.1001176.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://freddysblog.com/2020/06/25/working-with-artifacts/