I use poedit to do that. Open the file with poedit and then select
"Catalog --> Purge deleted translations" from the menu.

Luc

On 03.02.21 18:57, Pieter Claeys wrote:
> I have written a quite large document using sphinx, and underwent
> several iterations with external translators. The translation workflow
> works fine, however I noticed that when I delete phrases/content in
> the .rst  source files, then there still always remains a 'MsgId'
> recording in the .po files.  
> I would like to clean these 'ghost' records from the .po files, to
> avoid running into unneeded translation costs.
>
> Is there a way to solve this? Can sphinx-intl be instructed to remove
> entries from the .po files for when the msgId is no longer present in
> the .pot file?
> -- 
> You received this message because you are subscribed to the Google
> Groups "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sphinx-users/b6a7a409-96c4-4a3b-9e74-23582ff53d1cn%40googlegroups.com
> <https://groups.google.com/d/msgid/sphinx-users/b6a7a409-96c4-4a3b-9e74-23582ff53d1cn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/3707e313-187f-f97e-35d9-8ead19a7efb1%40gmail.com.

Reply via email to