updates – How to synchronize an updated translation file with an old custom file

I have customized the translations of WordPress admin into version 4.9. When I updated WP to 5.1, the new strings are not translated with the old .po file. So I updated the translations after saving the language directory, but now the new strings are translated but my customization is gone. How can I compare the two .po files and use the old equivalent string translation?