how to clean deleted strings from .po files

264 views
Skip to first unread message

Pieter Claeys

unread,
Feb 3, 2021, 11:57:35 AM2/3/21
to sphinx-users
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?

Luc Saffre

unread,
Feb 4, 2021, 6:42:56 AM2/4/21
to sphinx...@googlegroups.com, Pieter Claeys
I use poedit to do that. Open the file with poedit and then select "Catalog --> Purge deleted translations" from the menu.

Luc
--
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 sphinx-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/b6a7a409-96c4-4a3b-9e74-23582ff53d1cn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages