"Keep Translations" in Replace in Sources does not preserve translations

Summary: The “Keep Translations” option in the Replace in Sources dialog does not actually keep translations when a source string is modified.

Steps to reproduce:

  1. Open the editor and open Find and Replace (Sources mode)
  2. Enter a search term that matches an existing source string
  3. Enter a replacement that modifies the string (e.g. appending text to the end)
  4. Ensure the matching string is checked in the list
  5. Set the dropdown to Keep Translations
  6. Click Replace Selected and confirm the “can’t be undone” dialog

Expected behavior: The existing approved translation is preserved on the updated source string.

Actual behavior: The translation is completely removed. The string is left with no active translation at all. The old translation appears only as a TM suggestion (100% match) in the TM & MT Suggestions panel, but is not carried over as the current translation or kept in an approved/unapproved state.

Environment: Crowdin editor, XLIFF file format, Spanish (Colombia) target language.

Impact: Users must manually re-apply and edit the TM suggestion for every affected string after using Replace in Sources, defeating the purpose of the Keep Translations option.

Hi @david_cardinal

I’ve attempted to reproduce this behavior on my end, but I was not able to replicate the issue. In my tests using the “Keep Translations” option, the saved translations were correctly preserved after the source string was modified.

To help us investigate further, could you please provide a short screen recording of the steps you’re taking? Seeing the process in action will help us pinpoint exactly where the discrepancy might be occurring.

Thanks for the prompt reply! We’ll get you a screen recording.

I have one, but can’t figure out how to get it to you. Upload doesn’t seem to accept video and links are rejected in my reply. Thanks for help!

Hi @david_cardinal

You can send the video directly to support@crowdin.com
Please also share a link to your project