If the "Auto-propagation of Translations" checkbox is set in the project properties, alternative translations present in the project_save.tmx
are not loaded correctly.
oreover, if a translation of the segment is present in the source file (in case of a Xliff file for example), this translation will be displayed.
To illustrate the problemn in the attached project, the segment in the file SCI002.xlf
appears as ERROR - 456
but it should be A - 456
as it is defined in project_save.tmx
. The same problem appears on the third file.
Looking at the method org.omegat.core.data.RealProject.importTranslationsFromSources()
it appears that the alternative translations are only used when the auto-propagation is not set.
As the alternative translations are always more precise in term of context, I think it would make more sense if these translations would be given a higher priority than the default translation, whether auto-propagation is checked or not.
Fixed in [f4282b].
Related
Commit: [f4282b]
Fixed in OmegaT 5.3.0.