ikiwiki's PO plugin doesn't include inline in language stats
For example, right now:
is advertised as 100% translated in Italian while it’s not. It’s more like 10% translated.
I guess that’s because what counts in the stats is only the strings of
wiki/src/install/win/usb.it.po and not the strings in
An algorithm to compute better stats could be:
- If an inline directive is translated in the parent PO file and corresponds to a translated inline, count the strings in the inline PO file. Almost all inlines have translations but not all (eg. @wiki/src/inc).
- Otherwise, count the inline directive itself.
Feature Branch: web/16867-remove-percent-translated