Is there a way to get number of untranslated strings?

Asked by Savvas Radevic

Hi, is there a way, a function or two, to get the number of untranslated strings? Or a percentage of translated vs untranslated strings?
An example would be very welcome. :)

Question information

English Edit question
php-gettext Edit question
No assignee Edit question
Solved by:
Данило Шеган
Last query:
Last reply:
Revision history for this message
Best Данило Шеган (danilo) said :

Not really. php-gettext provides a MO file reader with all the relevant functions generic gettext provides. However, MO files do not contain untranslated strings, in order to save space and to increase speed, and also, because they are not necessary.

To figure out how many untranslated strings there are, you'd still have to use "msgmerge -cv" (or any other PO parser) on the unprocessed PO file instead.

Revision history for this message
Savvas Radevic (medigeek) said :

Thanks Данило Шеган, that solved my question.