Txt2AL Generated xlf files are unstable.
The Txt2AL program generates different XLF files each time it's run. Please sort them so we can see the differences between runs.
Can you explain a bit more? Do you mean that it generates a different filename each time or you get different content each time?
I get a different content each time.
It appears that the order of the labels are randomised due to the txt2al program being a multi-threaded program which completes conversion of various objects in an unpredictable order.
This also causes object numbers for the extension objects to be assigned in an apparently random order.
After the strange stuff I experienced with #3026 and #3013 I executed two further runs with
Convert-ModifiedObjectsToAl using the same unchanged database from the same container (version 13.0.23474.0-DE) and I can confirm that this happens. The content of the xlf file changes tremendously with each run. Even the file size differs.
Attached are 3 versions (for de-DE), which really should be identical.
XLIFFVariations.zip
@Kowa63, Oh "****"!
The random tableextension (pageextension) numbers are in the translation file. It looks like those numbers would have to be pre-allocated or something.
translation-de-DE_V2.xlf: <note from="Xliff Generator" annotates="general" priority="3">TableExtension tableextension70000014 - Field OPP ISO Bank Code - Property Caption</note>
translation-de-DE_V3.xlf: <note from="Xliff Generator" annotates="general" priority="3">TableExtension tableextension70000013 - Field OPP ISO Bank Code - Property Caption</note>
translation-de-DE.xlf: <note from="Xliff Generator" annotates="general" priority="3">TableExtension tableextension70000014 - Field OPP ISO Bank Code - Property Caption</note>
Actually, there should not be anything in the 70000000 range in the file, that it another bug I reported with #2987.
Thanks for your input, we will look into fixing this issue
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 25582.
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://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/